-
Notifications
You must be signed in to change notification settings - Fork 12.8k
JSDoc : support @interface and @implements #16142
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
Comments
hi @cyrilletuzi , any reason for closing this? |
First because when Second, because there was no reaction, so I supposed my early enthusiasm was really not such a good idea. |
wondering if you can elaborate about your experience with checkJS.. |
In my case I'm still a bit reluctant to transpile my |
My main use case for |
Why is not |
Have you considered adding .d.ts for your types and using these in your .js files? |
Well, no :/ In my head it was "full JS" or "full TS", but I didn't thought I could mix both worlds. Therefore, |
@mhegazy I did try using .d.ts files. But I couldn't figure out how to use the interfaces defined there on the js files. |
were both modules? |
Voting for reopening this issue and support '@interface' and '@implements'
But if pain comes from lack of supported |
TypeScript Version: 2.3.3
Code
In a JavaScript file, with
checkJs
option :Actual behavior:
No error.
Expected behavior:
An error should be raised. It's important in
checkJs
mode as JavaScript doesn't have native interfaces.The text was updated successfully, but these errors were encountered: