Skip to content

Commit 3b3401e

Browse files
committed
hyphenator
1 parent 796cbc7 commit 3b3401e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

agents/src/tokenize/basic/hyphenator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Hyphenator {
7777

7878
const pieces = [''];
7979
for (let i = 0; i < word.length; i++) {
80-
pieces[pieces.length - 1] += word[i];
80+
pieces[pieces.length - 1]! += word[i];
8181
if (points[i + 2]! % 2) {
8282
pieces.push('');
8383
}

tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
"moduleResolution": "node16",
1111
"strict": true,
1212
"esModuleInterop": true,
13-
"emitDecoratorMetadata": true,
14-
"experimentalDecorators": true,
15-
"allowSyntheticDefaultImports": true,
1613
"skipLibCheck": true,
1714
"forceConsistentCasingInFileNames": true,
1815
"verbatimModuleSyntax": true,

0 commit comments

Comments
 (0)