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

Adds TypeScript type declarations #39

Merged
merged 1 commit into from
Apr 19, 2023
Merged

Conversation

Simon-Tang
Copy link

I tried to see if this could be auto-generated using https://www.typescriptlang.org/tsconfig#emitDeclarationOnly. But it seems that TypeScript has had a long-standing open issue (microsoft/TypeScript#15416) about supporting files not ending in JS/JSX/TS/TSX.

Thoughts on adding this? I wasn't sure if this would need any changes to build/build.js, but probably not?

If we don't add it here, I would be happy to instead submit a PR to https://github.com/DefinitelyTyped/DefinitelyTyped.

Copy link
Owner

@discordier discordier left a comment

Choose a reason for hiding this comment

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

LGTM

@Simon-Tang
Copy link
Author

Hi @discordier, assuming there isn't much other upcoming activity for this repo, would you be fine with merging the PR as-is? (I'm not able to merge AFAIK)

@discordier discordier merged commit e037db2 into discordier:master Apr 19, 2023
@discordier
Copy link
Owner

Hi simon,
sorry for the delay - was pretty busy over the last months.

Thanks for your contribution, it has been released as 0.2.1 and pushed to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants