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

Add declare module to typings #68

Merged
merged 1 commit into from
Feb 7, 2021

Conversation

hansottowirtz
Copy link
Contributor

Typescript shows this error when importing:

File '<project>/node_modules/construct-style-sheets-polyfill/dist/adoptedStyleSheets.d.ts' is not a module.

This PR fixes that error.

As a workaround, you can use:

construct-style-sheets-polyfill.d.ts

declare module 'construct-style-sheets-polyfill';

@calebdwilliams
Copy link
Owner

Thanks! Can you update the commit to use standard format, fix: add declare module to typings

Copy link
Owner

@calebdwilliams calebdwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need to update commit message so the version increments correctly.

Copy link
Owner

@calebdwilliams calebdwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Thanks for the contribution.

@calebdwilliams calebdwilliams merged commit 8f1e1cc into calebdwilliams:master Feb 7, 2021
@calebdwilliams
Copy link
Owner

This was released as part of version 2.4.9. Thanks @hansottowirtz!

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