You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides, I checked the tsProject() object, and found "declaration" within the "config" part is always false, no matter what the tsconfig.json or the setting param is.
I dug the source a little and found the problem came from this line, but I don't see the reason why these options are related to the isolatedModules which is also not mentioned in official docs.
Expected behavior:
Generate d.ts when
{ "declaration": true }
assigned.Actual behavior:
Only js files generated,
tsconfig.json
works fine withtsc
directly.Your gulpfile:
Include your gulpfile, or only the related task (with
ts.createProject
).tsconfig.json
Include your tsconfig, if related to this issue.
Code
Include your TypeScript code, if necessary.
Besides, I checked the
tsProject()
object, and found "declaration" within the "config" part is always false, no matter what the tsconfig.json or the setting param is.Environment:
[email protected]
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: