page.js
page.js copied to clipboard
You now have TypeScript definitions
Hey All,
I've made TypeScript definitions for this project readily available making this the easiest standalone router to use with TypeScript. If you'd like to add the DefinitelyTyped badge to your project badges it might help others in the future. Your call.
Either way, thanks!
I think it's should be useful for TS users. But I don't know how it work :D Can you make PR with badge?
But the project is not es6 typescript compatible. https://github.com/Microsoft/TypeScript/issues/3337
Hey, Typescript novice here. Is Definitely Typed still the way to submit typings? I thought it was replaced by some other method...
Hey, Typescript novice here. Is Definitely Typed still the way to submit typings? I thought it was replaced by some other method...
It still is the one and only central repository that holds definitions. And @types is the npm namespace that distribute them.
Although, by far the best is still to have typings inside the code source directly and link it from package.json as it's less likely to fall out of sync then.