Skip to content

Usage of newly added Typescript API generateTypesForModule #28546

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

Closed
shrinktofit opened this issue Nov 15, 2018 · 1 comment
Closed

Usage of newly added Typescript API generateTypesForModule #28546

shrinktofit opened this issue Nov 15, 2018 · 1 comment
Labels
API Relates to the public API for TypeScript Question An issue which isn't directly actionable in code

Comments

@shrinktofit
Copy link

shrinktofit commented Nov 15, 2018

I noticed that in commit 40bd7c8 , the ts.generateTypesForModule and ts.generateTypesForGlobal is added as Typescript API.

According #26588, does this API provide a way to generate .d.ts file from JsDoc-typed JavaScript file? If so, how to use it?

@shrinktofit shrinktofit changed the title Usage of Typescript API generateTypesForModule Usage of newly added Typescript API generateTypesForModule Nov 15, 2018
@weswigham weswigham added Question An issue which isn't directly actionable in code API Relates to the public API for TypeScript labels Nov 15, 2018
@typescript-bot
Copy link
Collaborator

This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the public API for TypeScript Question An issue which isn't directly actionable in code
Projects
None yet
Development

No branches or pull requests

3 participants