Skip to content
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

Typescript JSDoc support for d.ts files? #4

Open
gooddaytoday opened this issue Aug 11, 2015 · 4 comments
Open

Typescript JSDoc support for d.ts files? #4

gooddaytoday opened this issue Aug 11, 2015 · 4 comments

Comments

@gooddaytoday
Copy link

Testing JSDoc support for typescript and it seems pretty good, but there are no doc generation for d.ts files yet, is it?

@mobermeyer
Copy link
Owner

I haven't tested it, but I would assume you are correct. I did not know about ".d.ts" files (I do not use TypeScript, myself), so I did not realize there was another way to declare functions in TypeScript. I will look into this as soon as I have time.

@gooddaytoday
Copy link
Author

Type definitions (d.ts files) are usually used for typing existing js libraries. If you are interested, will found some here http://definitelytyped.org/ and http://www.typescriptlang.org/Handbook#writing-dts-files

@mobermeyer
Copy link
Owner

Thanks, that will be very helpful!

@mobermeyer
Copy link
Owner

I haven't made any specific changes attempting to support this behavior, but in Visual Studio 2015, this seems to work in a few test cases I have tried. I haven't tested in any other versions of Visual Studio, which may not recognize d.ts files as being part of the TypeScript language, so it may not work in every version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants