Skip to content

Commit

Permalink
TSC error suppression for latest versions (#272)
Browse files Browse the repository at this point in the history
* TSC error suppression for latest versions

* TSC error suppression & lint fix

Co-authored-by: Bo Yao <bo@near.org>
Co-authored-by: Serhii Volovyk <SergeyVolovyk@gmail.com>
  • Loading branch information
3 people authored Nov 2, 2022
1 parent 90dbc2a commit eb5f03c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/cli/cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function checkTsBuildWithTsc(
verbose = false
) {
await executeCommand(
`${TSC} --noEmit --experimentalDecorators --target es2020 --moduleResolution node ${sourceFileWithPath}`,
`${TSC} --noEmit --skipLibCheck --experimentalDecorators --target es2020 --moduleResolution node ${sourceFileWithPath}`,
verbose
);
}
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"noUnusedLocals": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"allowJs": true
"allowJs": true,
"skipLibCheck": true
},
"files": [
"src/index.ts",
Expand Down

0 comments on commit eb5f03c

Please sign in to comment.