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 definitions? #19

Open
jhurliman opened this issue Apr 30, 2021 · 7 comments
Open

TypeScript definitions? #19

jhurliman opened this issue Apr 30, 2021 · 7 comments

Comments

@jhurliman
Copy link

No description provided.

@modus-jose
Copy link

modus-jose commented Mar 3, 2023

@theresasogunle and I are working on a contribution to typescript.
We used this repo to test,
https://github.com/theresasogunle/react-ts-text-metrics

and are making this fork (not ready yet)
https://github.com/modus-jose/DefinitelyTyped

Can someone help us test our definitions??

@bezoerb
Copy link
Owner

bezoerb commented Mar 9, 2023

hey @modus-jose :)
there's a plan to rewrite this module to typescript but i'm quite busy at the moment.

@modus-jose
Copy link

modus-jose commented Mar 9, 2023 via email

@bezoerb
Copy link
Owner

bezoerb commented Apr 8, 2023

Hey @modus-jose, that would be awesome 😄

@modus-jose
Copy link

modus-jose commented May 12, 2023

@bezoerb I know its been a while but our typescript definitions are finally ready to be merged

DefinitelyTyped/DefinitelyTyped#64964

On that link they also provide a playground in case you want to play with it

@modus-jose
Copy link

The next steps could be to rewrite to typescript

@modus-jose
Copy link

And its been merged!
You can now add
npm i --save-dev @types/text-metrics

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

No branches or pull requests

3 participants