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

Fix tsconfig for protoc-gen-es #767

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

timostamm
Copy link
Member

In #754, we switched our builds to use Node16 module resolution.

protoc-gen-es remained CommonJS (no "type": "module" in package.json). Because the TypeScript language service used in the the picked up the new tsconfig base settings with "moduleResolution": "Node16", this causes errors in the IDE. The build is not affected, so this passed CI.

To fix the issue, this adds the same module and resolution settings to the package's tsconfig that are using during build.

@timostamm timostamm merged commit 2b2861b into main Apr 2, 2024
6 checks passed
@timostamm timostamm deleted the tstamm/fix-tsconfig-protoc-gen-es branch April 2, 2024 14:07
timostamm added a commit that referenced this pull request Apr 2, 2024
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