forked from stephenh/ts-proto
-
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: Ensure strict(er) TS compliance for the generated code (stephen…
…h#868) * Ensure strict(er) TS compliance for the generated code - Add a new `tsc:check` script to ensure that there are no TS files with undetected errors. - Split the TS configs in `integrations` so the compiled proto TS files can underly much stricter configuration requirements than the test files themselves. - Add `DOM` to `compilerOptions.lib` for integration tests to have DOM's `AbortSignal` in scope. - Apply the strictest TS preset there is to the compiled proto TS files (with a few exceptions that may be resolved later). - Update the generated code to adhere to the stricter TS config. - Modernise a few areas of the generated code. - Add `tsc:check` to the CI script * fixup! Ensure strict(er) TS compliance for the generated code * fixup! Ensure strict(er) TS compliance for the generated code * fixup! Ensure strict(er) TS compliance for the generated code * fixup! Ensure strict(er) TS compliance for the generated code * fixup! Ensure strict(er) TS compliance for the generated code
- Loading branch information
1 parent
5ec618c
commit 1405d4b
Showing
99 changed files
with
674 additions
and
618 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
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
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
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,3 @@ | ||
export interface Foo { | ||
foo: "bar"; | ||
} |
Oops, something went wrong.