Skip to content

Commit

Permalink
fix: type tests were messing with type generation (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorJohn authored Oct 8, 2024
1 parent f265e47 commit 63bbb54
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"lint:markdown:fix": "prettier --write \"docs/**/*.md[x]\"",
"lint:report": "eslint --output-file=eslint-report.json --format=json src/ --ext .js,.jsx,.ts,.tsx",
"lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",
"tsc:compile": "tsc --project . --noEmit",
"tsc:compile": "tsc --project tsconfig.test.json",
"lint": "yarn lint:code && yarn tsc:compile",
"tests:jest": "jest",
"tests:jest-watch": "jest --watch",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"include": ["src", "type-test.ts"],
"include": ["src"],
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"include": ["type-test.ts"],
"compilerOptions": {
"noEmit": true
}
}

0 comments on commit 63bbb54

Please sign in to comment.