mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-11 06:04:55 +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>
18 lines
231 B
JSON
18 lines
231 B
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"esnext",
|
|
"dom",
|
|
"webworker"
|
|
]
|
|
},
|
|
"include": [
|
|
"front_end/",
|
|
"test/"
|
|
],
|
|
"exclude": [
|
|
"front_end/externs.js"
|
|
]
|
|
}
|