aboutsummaryrefslogtreecommitdiff
path: root/src/shared/operations.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/operations.ts')
-rw-r--r--src/shared/operations.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/operations.ts b/src/shared/operations.ts
index cc22f75..688c240 100644
--- a/src/shared/operations.ts
+++ b/src/shared/operations.ts
@@ -443,5 +443,5 @@ export const valueOf = (o: any): Operation => {
case MARK_JUMP_PREFIX:
return { type: o.type };
}
- throw new Error('unknown operation type: ' + o.type);
+ throw new TypeError('unknown operation type: ' + o.type);
};