Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Oct 25, 2023
1 parent 95056b1 commit 1c6ca37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const FLAG_CODEPOINT_TO_PROP: Record<FlagCodePoint, FlagProp> =
Object.entries(FLAG_PROP_TO_CODEPOINT).map(([k, v]) => [v, k]),
) as never
type FlagProp = keyof typeof FLAG_PROP_TO_CODEPOINT
type FlagCodePoint = typeof FLAG_PROP_TO_CODEPOINT[FlagProp]
type FlagCodePoint = (typeof FLAG_PROP_TO_CODEPOINT)[FlagProp]
type FlagsRecord = Omit<Flags, "end" | "parent" | "raw" | "start" | "type">

function isSyntaxCharacter(cp: number): boolean {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"options": {
"strict": false,
"ecmaVersion": 2022
"ecmaVersion": 2023
},
"patterns": {
"/(?ims-ims:sub_expression)/": {
Expand Down

0 comments on commit 1c6ca37

Please sign in to comment.