We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
erasableSyntaxOnly
1 parent 86d68d3 commit 2303823Copy full SHA for 2303823
2 files changed
package.json
@@ -5,7 +5,7 @@
5
"type": "module",
6
"scripts": {
7
"node:test": "node --test ./implementors/node/run-tests.ts",
8
- "lint": "eslint",
+ "lint": "eslint && tsc -p .",
9
"addons:configure": "cmake -S . -B ./build",
10
"addons:build": "cmake --build ./build",
11
"addons:clean": "git clean -xf '**/*.node' && rm -rf ./build",
tsconfig.json
@@ -0,0 +1,18 @@
1
+{
2
+ "compilerOptions": {
3
+ "target": "esnext",
4
+ "module": "nodenext",
+ "moduleResolution": "nodenext",
+ "rootDir": "./",
+ "noEmit": true,
+
+ "types": ["node"],
+ "erasableSyntaxOnly": true,
+ "allowImportingTsExtensions": true,
12
+ "forceConsistentCasingInFileNames": true,
13
+ "strict": true,
14
+ },
15
+ "exclude": [
16
+ "**/CMakeFiles/**"
17
+ ]
18
+}
0 commit comments