- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 731
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
declare module vs @module different output #2401
Comments
The |
Thanks for fixing this! |
Follow up question: will the module comments also be preserved? |
When a file only contains |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search terms
module, declare module,
Question
Before I a .d.ts file was only as a way to document a library/environment.
So each file looked like this:
This resulted in the comment above being included and the page being called
foo:bar
.However know I want to use those .d.ts also as reference in Typescript, so I need to wrap the whole file into a
declare module
:now however the page is title as (Module +) filename and the comment isn't included either.
How can I handle this?
The text was updated successfully, but these errors were encountered: