Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"node:test": "node --test ./implementors/node/run-tests.ts",
"lint": "eslint",
"lint": "eslint && tsc -p .",
Comment thread
legendecas marked this conversation as resolved.
Outdated
"addons:configure": "cmake -S . -B ./build",
"addons:build": "cmake --build ./build",
"addons:clean": "git clean -xf '**/*.node' && rm -rf ./build",
Expand Down
18 changes: 18 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
"rootDir": "./",
"noEmit": true,

"types": ["node"],
"erasableSyntaxOnly": true,
"allowImportingTsExtensions": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
},
"exclude": [
"**/CMakeFiles/**"
]
}
Loading