forked from MichalLytek/type-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Eliminate typings folder in favor of per-target types
Took some doing since there's no nice way in TS of omitting comments from the resulting JS files but keeping them in the TS files. See microsoft/TypeScript#14619 for the relevant issue discussing this. Fixes MichalLytek#1442
- Loading branch information
Showing
4 changed files
with
33 additions
and
16 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
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,15 @@ | ||
{ | ||
"extends": "./tsconfig.cjs.json", | ||
"compilerOptions": { | ||
// See https://github.com/webstrand/typescript-remove-comments-not-from-declarations for the source of inspiration. | ||
|
||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"removeComments": false, | ||
|
||
// performance enhancement | ||
"disableSolutionSearching": true, | ||
"skipLibCheck": true, | ||
"skipDefaultLibCheck": true | ||
} | ||
} |
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,15 @@ | ||
{ | ||
"extends": "./tsconfig.esm.json", | ||
"compilerOptions": { | ||
// See https://github.com/webstrand/typescript-remove-comments-not-from-declarations for the source of inspiration. | ||
|
||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"removeComments": false, | ||
|
||
// performance enhancement | ||
"disableSolutionSearching": true, | ||
"skipLibCheck": true, | ||
"skipDefaultLibCheck": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.