mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
This file was using `Headers` as iterable. This class is iterable, but TypeScript didn't like it. As it turns out, there are multiple definitions of the `dom` and `webworker` APIs. To get the iterable versions, we have to add them explicitly. Therefore, also update our TypeScript configuration to add the iterable variants. DISABLE_THIRD_PARTY_CHECK=TypeScript fix R=szuend@chromium.org Bug: 1011811 Change-Id: Iae32bbf25d55346081dc2e0ab4f4093b531f91a1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2421705 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>
21 lines
317 B
JSON
21 lines
317 B
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"esnext",
|
|
"dom",
|
|
"dom.iterable",
|
|
"webworker",
|
|
"webworker.iterable"
|
|
],
|
|
"outDir": "ignored-for-vscode"
|
|
},
|
|
"include": [
|
|
"front_end/",
|
|
"test/"
|
|
],
|
|
"exclude": [
|
|
"front_end/externs.js"
|
|
]
|
|
}
|