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

Made compatible with ES Module packages + small bug fix #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maxbilbow
Copy link

@maxbilbow maxbilbow commented Mar 6, 2023

This PR fixes issue where npm package that specify "type": "module" could not import this tool.

It also adds Typescript as a JavaScript linter, which appears to have exposed a bug in the directive logic.

Additionally, an index.d.ts file has been added to provide Typescript support for consumers.

This PR can be superseded by #26, which is more comprehensive (but more scary, perhaps?)

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.

1 participant