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

improve typescript declaration imports #2513

Merged
merged 1 commit into from
Jun 16, 2017
Merged

improve typescript declaration imports #2513

merged 1 commit into from
Jun 16, 2017

Conversation

paulirish
Copy link
Member

Thx @devrelm for the suggestion

fixes #2497
ref #1773

@paulirish paulirish requested a review from samccone June 16, 2017 01:26
@samccone
Copy link
Contributor

does this make a bare typescript import just work?

@pedro93
Copy link

pedro93 commented Jun 16, 2017

If you rename chrome-launcher.ts to index.ts it would also work, no need to add an extra file. Tested it locally. Still requires the package.json change.

@paulirish
Copy link
Member Author

cool cool. @pedro93 with a bunch of index.ts/js files in the project as it makes it harder to navigate, so that's why i favor this pattern a bit more. :)

@paulirish paulirish merged commit c20b285 into master Jun 16, 2017
@paulirish paulirish deleted the tslauncher branch June 16, 2017 16:18
paulirish added a commit to GoogleChrome/chrome-launcher that referenced this pull request Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrome-launcher typescript compiler, can't find name
3 participants