Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move compiler option to emit declarations to tsconfig.base.json #1371

Conversation

timostamm
Copy link
Member

I noticed we made a small improvement in the compiler config in https://github.com/bufbuild/protobuf-es that we don't use here yet:

  • Instead of passing --declaration to tsc in scripts, we can set "declaration": true in tsconfig.base.json.
  • Because TypeScript emits declaration files next to the JS files by default, it's redundant to specify --declarationDir in scripts.

Signed-off-by: Timo Stamm <ts@timostamm.de>
@timostamm timostamm requested a review from smaye81 December 19, 2024 11:16
@timostamm timostamm merged commit ebc1880 into main Dec 19, 2024
45 checks passed
@timostamm timostamm deleted the tstamm/Move-compiler-option-to-emit-declarations-to-tsconfig.base.json branch December 19, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants