mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
'constructor' is now forbidden as a property name because in 3.4 the compiler thought it created a property, but in ES2015 it actually created a constructor. I replaced them with computed properties, which is still wrong, but backward compatible. The es2015.promise lib no longer has an iterator type in it. You need to explicitly reference es2015.iterator
28 lines
615 B
JSON
28 lines
615 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es5",
|
|
"es2015.iterable",
|
|
"es2015.promise",
|
|
"webworker"
|
|
],
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
"baseUrl": "../",
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"esModuleInterop": true,
|
|
"strictFunctionTypes": true
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"websocket-async-tests.ts"
|
|
]
|
|
}
|