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(types): add types-reference to google.maps #520

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

usefulthink
Copy link
Collaborator

Typescript versions prior to 5.5 automatically emitted triple-slash directives for types used in the exported definitions. This was changed in 5.5, which could lead to situations where the google.maps types aren't properly picked up in a project using this package.

Adding a type-reference ourselves should help in those cases.

See https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#simplified-reference-directive-declaration-emit

fixes #519

Typescript versions prior to 5.5 automatically emitted triple-slash directives for types used in the exported definitions. This was changed in 5.5, which could lead to situations where the google.maps types aren't properly picked up in a project using this package.

Adding a type-reference ourselves should help in those cases.

See https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#simplified-reference-directive-declaration-emit

fixes visgl#519
@usefulthink usefulthink merged commit ed19636 into visgl:main Sep 8, 2024
2 checks passed
@usefulthink usefulthink deleted the fix/types-reference branch September 8, 2024 17:52
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.

[Bug] "Cannot find namespace google" on version => 1.1.1
1 participant