Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(concatjs): resolve error with TypeScript 5.0
In the concatjs `CompilerHost.resolveTypeReferenceDirectives` method the `undefined` values are excluded, despite the return value being `(ts.ResolvedTypeReferenceDirective|undefined)[]`. Until now TS was handling this gracefully, but it appears to trigger an error after 5.0. These changes add some code that should be both backwards and forwards compatible.
- Loading branch information
Showing
2 changed files
with
92 additions
and
88 deletions.
There are no files selected for viewing
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 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