diff --git a/packages/tsconfig/tsconfig.json b/packages/tsconfig/tsconfig.json index 2b37a399..dd4ffc48 100644 --- a/packages/tsconfig/tsconfig.json +++ b/packages/tsconfig/tsconfig.json @@ -9,6 +9,7 @@ "lib": ["ESNext"], "module": "ESNext", "moduleResolution": "node", + "noImplicitOverride": true, "noUnusedLocals": true, "noUnusedParameters": true, "resolveJsonModule": true, diff --git a/tests/test.tsx b/tests/test.tsx index c7a3b09c..3fbfd4af 100644 --- a/tests/test.tsx +++ b/tests/test.tsx @@ -5,7 +5,7 @@ export default class Test extends React.PureComponent { b?: string - render() { + override render() { return
Hello
} }