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

Typescript support #10

Merged
merged 2 commits into from
Feb 7, 2018
Merged

Typescript support #10

merged 2 commits into from
Feb 7, 2018

Conversation

nickbreaton
Copy link
Contributor

Hello. I noticed there was not a definition on DefinitelyTyped for this package. I thought maybe we could add it directly to this package? I tried to follow the same conventions you used throughout the code and build process.

If this isn't something you are interested in adding, I will just make the PR to DefinitlyTyped instead. However, this method prevents the user from having to manually add another dependency:

npm i -D @types/react-display-name

Thanks!

@jurassix jurassix merged commit 5cdd4eb into jurassix:master Feb 7, 2018
@jurassix
Copy link
Owner

jurassix commented Feb 7, 2018

Awesome! Thanks for the contribution. I'll get this released to npm soon.

@mxdubois
Copy link

mxdubois commented Mar 1, 2018

I just bumped into this. Proof that it's useful! Thanks for adding types @nickbreaton!

I'm copying the .d.ts file into my project for now but @jurassix, when you get a chance, don't forget to publish it :)

@jurassix
Copy link
Owner

Released as v0.2.4

Let me know if you have any issues.

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.

None yet

3 participants