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

[question] produce definitions for both commonjs and globals? #7255

Closed
nippur72 opened this issue Feb 26, 2016 · 2 comments
Closed

[question] produce definitions for both commonjs and globals? #7255

nippur72 opened this issue Feb 26, 2016 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@nippur72
Copy link

I have a commonjs project that I would like to make it consumable from globals too (after webpacking and publishing it to window).

The problem is, how do I generate the .d.ts definitions for globals? Is that possible without modifying the code? Or do I have to rewrite them "by hand" ?

@RyanCavanaugh
Copy link
Member

I believe you're looking for #7125 ?

@nippur72
Copy link
Author

yes, thank you!

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Feb 26, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants