Skip to content

Commit

Permalink
chore(tsconfig): enable noImplicitOverride
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Aug 28, 2021
1 parent 24a9b35 commit 249966c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lib": ["ESNext"],
"module": "ESNext",
"moduleResolution": "node",
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
Expand Down
2 changes: 1 addition & 1 deletion tests/test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default class Test extends React.PureComponent {

b?: string

render() {
override render() {
return <div>Hello</div>
}
}
Expand Down

0 comments on commit 249966c

Please sign in to comment.