Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mathe42 committed May 26, 2024
1 parent 200dae2 commit 1fff214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function comlink(): Plugin[] {
const matches = code.matchAll(workerSearcher);

for (const match of matches) {
const index = match.index;
const index = match.index!;
const matchCode = match[0];
const c1_new = match[1];
const c2_type = match[2];
Expand Down

0 comments on commit 1fff214

Please sign in to comment.