We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 200dae2 commit 1fff214Copy full SHA for 1fff214
src/index.ts
@@ -70,7 +70,7 @@ export function comlink(): Plugin[] {
70
const matches = code.matchAll(workerSearcher);
71
72
for (const match of matches) {
73
- const index = match.index;
+ const index = match.index!;
74
const matchCode = match[0];
75
const c1_new = match[1];
76
const c2_type = match[2];
0 commit comments