Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure virtual types validator (#14799)
* refactor: split virtual types validators * move type predicates to interface * fix: nodeIsBlockScoped only accept one argument * fix: virtual types validators should validate types first * fix: register virtual types validators after base types * remove virtual-types from gulpfile jsdoc comment * simplify virtual types
- Loading branch information
Showing
10 changed files
with
321 additions
and
339 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
27 changes: 0 additions & 27 deletions
27
packages/babel-traverse/scripts/generators/virtual-types.js
This file was deleted.
Oops, something went wrong.
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
26 changes: 0 additions & 26 deletions
26
packages/babel-traverse/src/path/generated/virtual-types.ts
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.