-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add typings #5
Comments
Thanks for letting me know, basically i'm using typings in my other work projects. Regarding huject, i'll probably provide definition to work with just TS module resolve system (i.e without typings and tsd) |
And if I provide it myself, will you accept the PR? Thé current project I'm on is using typings and I plan to integrate your Le ven. 6 mai 2016 16:31, Alexey Svetliakov [email protected] a
|
Yes, the fix should be:
2 & 3 could be done easily by just renaming huject.d.ts to index.d.ts, the lib has no runtime dependencies, so with index.d.ts typings and TS resolver will work fine even without typings.json. Also optionally you might replace tsd in project to use typings instead too |
I think since typescript version 2.0 you can have the typings inbuilt in the package so we won't need typings. |
Consumer shouldn't be using tsd, typings or Instead, the See the offical TypeScript docs on publishing for more info. |
Typing is the new definition manager for typescript.
Basicaly it aims to replace the old tsd tool.
What about adding typings registration with tsd ones?
More info:
The text was updated successfully, but these errors were encountered: