This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add progressive TypeScript compilation (#503)
* Add progressive TypeScript compilation * Add missing include * Add CI step for typescript * Run prettier on tsconfig.json
- Loading branch information
1 parent
27e20e5
commit c5388da
Showing
7 changed files
with
61 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,6 @@ jobs: | |
- name: lint & syntax check | ||
run: npm run lint | ||
|
||
# run type checker | ||
- name: typescript | ||
run: npm run types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"checkJs": true, | ||
"allowSyntheticDefaultImports": true, | ||
"jsx": "preserve", | ||
"target": "esnext", | ||
"module": "esnext", | ||
"lib": ["dom", "esnext"], | ||
"declaration": true, | ||
"declarationMap": true, | ||
"noEmit": true, | ||
"isolatedModules": true, | ||
"skipLibCheck": true, | ||
|
||
/* Strict Type-Checking Options */ | ||
"strict": true, | ||
|
||
/* Additional Checks */ | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"importsNotUsedAsValues": "error", | ||
|
||
/* Module Resolution Options */ | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"typeRoots": ["./node_modules/@types"], | ||
"paths": { | ||
"~/*": ["./src/*"], | ||
"~~/*": ["./*"] | ||
}, | ||
"baseUrl": "./" | ||
}, | ||
"include": [ | ||
"src/composables/types.js", | ||
"src/composables/use-event-listener-outside.js" | ||
] | ||
} |