-
Notifications
You must be signed in to change notification settings - Fork 44
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
[feature request] Type Declaration Files for TypeScript #69
Comments
hi @foochris am I right in assuming you're filing a issue because you're trying to build a TypeScript project and include this JavaScript module, and then when your TypeScript project runs a status check, it warns you that there's no TypeScript declaration for this JavaScript module? If you know how, and want to add a type declaration file to this project, I'd be happy to entertain a Merge Request (pull request), so long as you put a type declaration test in the Thanks |
Found this issue as the problem showed up on https://github.com/orefalo/svelte-splitpanes An easy way to get this project typed, it to convert the code to typescript. It's relatively trivial for an existing (well written) JS project. |
🎊 Someone submitted typing for this project to DefinitelyTyped: DefinitelyTyped/DefinitelyTyped#62994 💡 You can now do |
Types are now part of the project, and I need to somehow remove those DefinitelyTyped definitions |
Describe the bug
Upon running
yarn run check
, a hint is outputted stating the a declaration file for the module could not be foundSteps to reproduce the behavior:
yarn run check
(svelte-check --tsconfig ./tsconfig.json
)Expected behavior
@types/svelte-range-slider-pips
, should be made availableScreenshots
Device/Environtment
Additional context
The text was updated successfully, but these errors were encountered: