-
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.
refactor: correction of minor details (#117)
- Loading branch information
1 parent
d847a59
commit a990fee
Showing
5 changed files
with
17 additions
and
17 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
14 changes: 7 additions & 7 deletions
14
src/types/symbolFlags.ts → src/constants/tsInternalFlags.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/** | ||
* Implementing `SymbolFlags` defined in typescript on your own, in order not to include TypeScript in dependencies | ||
*/ | ||
export enum SymbolFlags { | ||
Class = 32, | ||
} | ||
export const SYMBOL_FLAGS = { | ||
CLASS: 32, | ||
} as const; | ||
|
||
/** | ||
* Implementing `SyntaxKind` defined in typescript on your own, in order not to include TypeScript in dependencies | ||
*/ | ||
export enum SyntaxKind { | ||
ClassDeclaration = 263, | ||
Constructor = 176, | ||
} | ||
export const SYNTAX_KIND = { | ||
CLASS_DECLARATION: 263, | ||
CONSTRUCTOR: 176, | ||
} as const; |
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
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