-
Notifications
You must be signed in to change notification settings - Fork 625
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? #322
Comments
There is a bit of a problem with the
i get an error saying it can't find the type definition when building (despite VS code not giving me any error). if i import it like this
I get a different error. The solution seems to be to install is_js with an alias: if i do like this it seems to work but maybe i'm doing something completely wrong |
@valepu |
@shivam-tripathi Yes, but the types are for is_js despite being called @types/is.
|
To illustrate that @valepu is correct and there is a mismatch here:
|
Well I buckled and switched from Also type definitions in |
Update: I discovered that https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/is/index.d.ts#L1377-L1383 That can't be right. |
Is library compatible with TypeScript? Any extensions for types?
The text was updated successfully, but these errors were encountered: