-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: publish first-party type declarations (#1490)
BREAKING CHANGE: `tedious` now includes TypeScript definition files. These definitions might differ in various areas from the definitions published in the `@types/tedious` package. If you notice major differences, please reach out and let us know. --------- Co-authored-by: mShan0 <96149598+mShan0@users.noreply.github.com> Co-authored-by: Arthur Schreiber <schreiber.arthur@googlemail.com>
- Loading branch information
1 parent
4a6273c
commit 1226c20
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
// Disable features needed by the IDE which harm type declaration generation | ||
"isolatedModules": false, | ||
"noEmit": false, | ||
|
||
// Enable features needed for type declaration generation | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"declarationDir": "lib" | ||
}, | ||
|
||
"include": ["types/*.d.ts", "src/tedious.ts"] | ||
} |