Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: use case-insensitive imports for TypeScript support #21

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

matthewaptaylor
Copy link
Contributor

Newer versions of TypeScript enforce case-sensitive imports. If using this package with another one which imports Leaflet the standard way, i.e. import L from 'leaflet', you may get compile errors such as this:

image

Fix: import Leaflet with lowercase

@bertspaan bertspaan merged commit 8d932ef into nypl-spacetime:master Jan 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants