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

Ensure that empty modules can build in TypeScript isolatedModules mode #7726

Merged
merged 1 commit into from
Jan 7, 2023

Conversation

maxburke
Copy link
Contributor

Some cases, like if a .fbs file contains only an enum but does not import anything, will result in the compiler emitting a foo_generated.ts file that is empty, which causes tsc to error out when running with --isolatedModules

@github-actions github-actions bot added c++ codegen Involving generating code from schema javascript typescript labels Dec 19, 2022
@dbaileychess dbaileychess enabled auto-merge (squash) December 22, 2022 20:37
@dbaileychess dbaileychess disabled auto-merge January 7, 2023 00:41
@dbaileychess dbaileychess merged commit 81724e5 into google:master Jan 7, 2023
sunwen18 pushed a commit to sunwen18/flatbuffers that referenced this pull request Jan 9, 2023
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema javascript typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants