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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR will add .d.ts files to the dist output using tsc, it's harder with other alternatives (#29490).
Some changes are required to define modules that are missing types, --declaration is complaining about because it --allowJs needs to be disabled, related to #7546.
@dav-is I think it's better this way, declarations should always be generated when dist is generated (especially to check for errors, because babel won't do it), actually I would have prefer to use the taskfile but the Typescript api has some issues when generating declarations only.
lockbot
locked as resolved and limited conversation to collaborators
May 5, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will add
.d.ts
files to thedist
output usingtsc
, it's harder with other alternatives (#29490).Some changes are required to define modules that are missing types,
--declaration
is complaining about because it--allowJs
needs to be disabled, related to #7546.