Skip to content

Commit

Permalink
update tsconfig
Browse files Browse the repository at this point in the history
add vscode settings.json for matching the typescript version installed
  • Loading branch information
m4ss1m0g committed May 17, 2023
1 parent 4d4a4dc commit b31485a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
@@ -1,3 +1,4 @@
{
"js/ts.implicitProjectConfig.experimentalDecorators": true
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"typescript.tsdk": "./node_modules/typescript/lib"
}
1 change: 1 addition & 0 deletions .vscode/tasks.json
@@ -1,4 +1,5 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Expand Up @@ -17,8 +17,7 @@
"emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"importsNotUsedAsValues": "error", /* deprecated on typescript 5.5 */
"ignoreDeprecations": "5.0" /** remove this line when updating to Typescript 5.5 */
"importsNotUsedAsValues": "error" /* deprecated on typescript 5.5 */
},
"exclude": ["node_modules", "lib/**/*.js"],
"include": ["src/**/*.ts", "test/**/*.ts" ]
Expand Down

0 comments on commit b31485a

Please sign in to comment.