-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement(generate:typetests): Code cleanup and other fixes (#20905)
Contains the following fixes and improvements to generate:typetests: - The `level` flag is now a custom flag type that returns an ApiLevel type. - The type test header comment now correctly refers to the build-cli package. - The exports handling fallback logic now uses the correct priority: imports condition, requires condition, and only then does it fall back to the types/typings fields. - The module resolution override in the ts-morph projects was unnecessary and has been removed. - Instead of adding all declaration files to the ts-morph project then fishing out the individual file, now the single file is added to the project and used.
- Loading branch information
1 parent
3d230b4
commit 350c06a
Showing
1 changed file
with
21 additions
and
22 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