We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 7d697d9 commit 82ea50bCopy full SHA for 82ea50b
packages/svelte/src/compiler/phases/scope.js
@@ -238,9 +238,7 @@ class Evaluation {
238
break;
239
240
default:
241
- // @ts-expect-error we can't guard against future operators without
242
- // TypeScript getting confused
243
- throw new Error(`Unknown operator ${expression.operator}`);
+ this.values.add(UNKNOWN);
244
}
245
246
@@ -328,9 +326,7 @@ class Evaluation {
328
326
329
327
330
331
332
333
334
335
336
0 commit comments