TypeScript supportSee original GitHub issue
Thanks for this lib, it’s great and helped me a lot.
But the one small problem is that the
/@voie/pages does not have types.
Hope it would be helpful, and looking forward to seeing this project grows.
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top GitHub Comments
I agree that adding to DefinitelyTyped would not be ideal. I’ve done as you’ve suggested at it is working nicely! 😃
This is turning out to be an interesting issue… since the module name
/@voie/pagesis not a valid package name, I’m not sure how I could go about using a package to declare types. TypeScript also isn’t happy about using an ambient module declaration to declare
Is that possible for you to rename it to something like
@voie/pages? I treat using absolute path a dangerous smell (though in this case it’s actually a virtual path, my linter still complain about it 😅)