From 3a598cf5ed68a7bc9d0a242e00ec28442750b0d8 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 1 Sep 2020 10:48:01 +0200 Subject: [PATCH] build: add tsconfig with strict flag to dev-infra package (#38656) The dev-infra package is currently built with Bazel and ts-node. In Bazel, the shared tsconfig from the `packages/` folder is used. This means that the code is built in strict mode, but IDEs and ts-node do not know about the strictness. This is because the tsconfig is part of the `packages` folder and not accessible from the dev-infra package. We fix this by adding an IDE and ts-node specific tsconfig to the dev-infra package. This helps with spotting compilation failures before building with Bazel / waiting for CI to check build state. PR Close #38656 --- dev-infra/tsconfig.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dev-infra/tsconfig.json diff --git a/dev-infra/tsconfig.json b/dev-infra/tsconfig.json new file mode 100644 index 0000000000..aee0ec940f --- /dev/null +++ b/dev-infra/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "strict": true + } +}