Skip to content

Commit 9075ea3

Browse files
Update _includes/markdown/Typescript.md
Co-authored-by: Antonio Laguna <[email protected]>
1 parent 7845b74 commit 9075ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/markdown/Typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export const MyComponent = ({ title = 'Default Title' }: MyComponentsProps) => {
142142
}
143143
```
144144

145-
Make sure the eslint rule `react/require-default-props` is set up to look for `defaultArguments` e.g `'react/require-default-props': ['error', { functions: 'defaultArguments' }]`;
145+
Make sure the ESLint rule `react/require-default-props` is set up to look for `defaultArguments` e.g `'react/require-default-props': ['error', { functions: 'defaultArguments' }]`;
146146

147147
### Prefer explicitly declaring `children` instead of using `PropsWithChildren`
148148

0 commit comments

Comments
 (0)