Skip to content

Commit 1fff214

Browse files
committed
fix types
1 parent 200dae2 commit 1fff214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function comlink(): Plugin[] {
7070
const matches = code.matchAll(workerSearcher);
7171

7272
for (const match of matches) {
73-
const index = match.index;
73+
const index = match.index!;
7474
const matchCode = match[0];
7575
const c1_new = match[1];
7676
const c2_type = match[2];

0 commit comments

Comments
 (0)