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

Add support for emitting declaration files #128

Merged
merged 1 commit into from
Jan 10, 2016

Conversation

jbrantly
Copy link
Member

This adds support for emitting .d.ts files when declaration: true is set in tsconfig. This brings ts-loader closer in-line with tsc behavior and allows other tools to possibly re-package the individual .d.ts files into a single one (outside the scope of this project, for now).

The test runner also had a minor update to support working with output in subdirectories.

This fixes #48.

@jbrantly jbrantly force-pushed the support-declaration-output branch from 60dfbbe to 2eebe77 Compare January 10, 2016 02:08
jbrantly added a commit that referenced this pull request Jan 10, 2016
Add support for emitting declaration files
@jbrantly jbrantly merged commit 7b4e18f into master Jan 10, 2016
@mweststrate
Copy link

Awesome! When will this be released?

@jbrantly
Copy link
Member Author

In the next couple days. Since this is a breaking change I want to try and get one or two more breaking changes in the release.

@mweststrate
Copy link

Awesome, good to hear. Keep up the good work :)

On Wed, Jan 13, 2016 at 2:51 PM, James Brantly notifications@github.com
wrote:

In the next couple days. Since this is a breaking change I want to try and
get one
dc48cab
or two more breaking changes in the release.


Reply to this email directly or view it on GitHub
#128 (comment).

@jbrantly
Copy link
Member Author

@mweststrate Apologies for the delay, this has been published in v0.8.0.

@mweststrate
Copy link

No problem. Thanks for maintaining this! Really benefits our workflow.

On Wed, Jan 20, 2016 at 5:28 AM, James Brantly notifications@github.com
wrote:

@mweststrate https://github.com/mweststrate Apologies for the delay,
this has been published in v0.8.0.


Reply to this email directly or view it on GitHub
#128 (comment).

@Venryx
Copy link

Venryx commented Mar 16, 2017

Bundling to a single bundle.d.ts file (alongside the webpack-created bundle.js) would be nice.

Has this been implemented since the above PR, or is it still just on the ideas list?

@johnnyreilly johnnyreilly deleted the support-declaration-output branch July 13, 2017 15:30
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.

Export type definitions
3 participants