We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1daa7a2 commit 8598192Copy full SHA for 8598192
src/parser/lexer.ts
@@ -80,7 +80,7 @@ const multipleA = specificWord("a")
80
const repeatingLetter = match(/[a-zA-Z]/, "latin letter")
81
.then(memoize((letter) =>
82
count(all(matchString(letter)))
83
- .map((count) => [letter, count + 1] as const)
+ .map((count) => [letter, count + 1])
84
));
85
const longWord = allAtLeastOnce(repeatingLetter)
86
.skip(spaces)
src/parser/parser_lib.ts
@@ -316,7 +316,7 @@ export function withSource<const T>(
316
value: [
317
value,
318
currentSource.slice(position, position + length),
319
- ] as const,
+ ],
320
length,
321
}))
322
);
0 commit comments