slint/api/node/__test__/tsconfig.json
Simon Hausmann 87b893add7 Node.js: Upgrade TypeScript
Sadly, ts-node doesn't work with the newer typescript anymore. As per https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md , this patch changes
from the second to the first method: build the tests first, then run them with ava.

This requires a few small changes in the tests, as import.meta.url now returns the transpiled .mjs file in the build dir, instead of the source dir, as expected by the test.
2025-01-14 14:49:02 +01:00

11 lines
193 B
JSON

{
"compilerOptions": {
"module": "nodenext",
"target": "esnext",
"outDir": "../build",
"skipLibCheck": true
},
"include": [
"*.mts"
],
}