@tsconfig/bases
Version:
Combined tsconfig bases.
17 lines (15 loc) • 508 B
JSON
{
// https://doc.qt.io/qt-5/qjsengine.html
"$schema": "https://www.schemastore.org/tsconfig",
"compilerOptions": {
// Technically QTJSEngine supportes ES2016, however there are issues with
// arrow functions where in certain contexts "this" does not exist.
// Targeting ES5 instead fixes these issues by binding this to a variable
// and closing over that instead.
"target": "ES5",
"lib": ["ES2016"],
"module": "none",
"esModuleInterop": false,
"strict": true
}
}