-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thanks to @ArnaudBarre, closes #102 Co-authored-by: ArnaudBarre <arnaud.barre72@gmail.com>
- Loading branch information
1 parent
2ed1f8e
commit 90b634e
Showing
1 changed file
with
13 additions
and
2 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
Ah yeah TS is not global here so you are generating the mapping for every node. I'm a bit afraid this could be an issue for big AST, and it could be safe to have a global
Map<TypeScirpt, Record<SyntaxKind, string>>
to cache the record creation