-
Notifications
You must be signed in to change notification settings - Fork 130
No Definitions Generated #324
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
Comments
It looks like the same issue as #317 |
As far as I can tell, these are two distinct issues (though, it may still be a typescript issue). The issue you linked looks to have to do with js files no longer being included if the declaration option is set to true. My issue is that no definition files are created. Just in case, I set allowJs to false in my config, and still no definitions are created. Also, you might want to wait a bit to ensure that the issue is resolved instead of just assuming and closing immediately |
Ah-hah! In turning things off at random, it looks like the issue is the "isolatedModules" setting being set to true. I turned that false, and it created the definitions. I'm not exactly sure WHY, but that's what's going on. |
Sorry, but I do not have unlimited time to handle these issues. So sometimes I must reply to them quickly. Your configuration wasn't working since |
I get the finite time part, all I'm saying is it'd probably be a good idea to leave it open for long enough to confirm that's the issue and resolution. Anyways, ok, I can see why that'd be an issue when creating the declaration files. Thanks for pointing that out. |
I'm having an issue where definition files aren't being generated. I read through a closed issue relating to this, but the points brought up in it doesn't seem to apply here. I have the "declaration" option set to true and I'm separately writing both streams. The javascript and sourcemaps are being generated properly, just no definitions. I tried doing an npm update to ensure everything is up to date and tried using a "project", but had the same issue. Any idea what's up?
Here's my build task
Here are the typescript settings I'm using...
the TypeScript version I'm pulling in is ^1.8.9
The text was updated successfully, but these errors were encountered: