Closed apupier closed 3 years ago
@apupier thanks for reporting the issue! can you provide more info on how to reproduce that error? the typescript version and tsconfig would also be helpful.
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "out",
"lib": [
"es6"
],
"sourceMap": true,
"resolveJsonModule": true,
/* Strict Type-Checking Option */
"strict": true, /* enable all strict type-checking options */
/* Additional Checks */
"noUnusedLocals": true /* Report errors on unused locals. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
},
"include": [
"src"
],
"exclude": [
"node_modules",
".vscode-test",
"test-resources"
]
}
Same here. If I open the index.d.ts all 3 lines are marked "red" in my IDE.
BodyInit
and HeadersInit
are missing in the import, but ResponseInit
is not existing at all. :(
Caused by PR #93
ok, this is supposed to be fixed on 3.1.1. please let me know if other issues come up. closing this for now.
upgrading from 3.0.6 to 3.1.0, I'm hitting these compilation errors:
environment versions: