From 296d1e2b755102902283365208e7bd57d2b9ca3c Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 8 Mar 2023 16:38:56 +0000 Subject: [PATCH] Enable some tsc strict flags (#24772) --- tsconfig.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index ddceda407c..4b25eb5346 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,10 @@ "outDir": "./lib", "declaration": true, "jsx": "react", - "lib": ["es2019", "dom", "dom.iterable"] + "lib": ["es2019", "dom", "dom.iterable"], + "alwaysStrict": true, + "strictBindCallApply": true, + "noImplicitThis": true }, "include": ["./src/**/*.ts", "./src/**/*.tsx", "./test/**/*.ts", "./test/**/*.tsx"] }