mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 13:44:39 +08:00
Required changes: - Add CodeMirror types as globals - Add support for `is_web_worker` in `ts_library` and `devtools_module`, as the FormatterWorker is a worker. This also moves the `lib` specification out of `tsconfig.base.json`, as we now need to dynamically generate it - Fix (seemingly unrelated) issues with untyped events in other files. I don't understand why TSC suddenly started to complain about these. DISABLE_THIRD_PARTY_CHECK=TypeScript fixes R=aerotwist@chromium.org,jacktfranklin@chromium.org Bug: 1098730 Change-Id: I7d33c22983f2fe5e793c20fa5d56411d996ec999 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2294985 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
16 lines
305 B
JSON
16 lines
305 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "esnext",
|
|
"target": "esnext",
|
|
"baseUrl": ".",
|
|
"checkJs": true,
|
|
"allowJs": true,
|
|
|
|
"noEmitOnError": true,
|
|
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
}
|
|
} |