the method is currently in ECMAScript standard draft 4 and not yet adopted broadly enough. V8 has basic support, but I'm not betting on it coming soon, so I've implemented a simple polyfill.
21 lines
527 B
JSON
21 lines
527 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2015",
|
|
"module": "nodenext",
|
|
"strict": true,
|
|
"sourceMap": false,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": false,
|
|
"allowJs": false,
|
|
"declaration": false,
|
|
"declarationMap": false,
|
|
"outDir": "build/release",
|
|
"baseUrl": "./",
|
|
"paths": { "*": ["node/modules/*"] },
|
|
"lib": ["esnext.weakref", "dom"]
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/types/**/*.d.ts"
|
|
]
|
|
}
|