forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around api-extractor import bug
The import expression for the ETW trace types breaks API extractor; it outputs a named import for a non-existent name in the module rather than emitting a default import. For now, redeclare the type locally and then use a conditional type to verify that what we have is compatible with the upstream type when type checking locally.
- Loading branch information
1 parent
f07182a
commit cf0ff15
Showing
1 changed file
with
33 additions
and
1 deletion.
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