aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.ts b/src/types.ts
index ac577a1..b09bde5 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -25,7 +25,7 @@ export type Expr = Union<{
Truthy: _,
Falsey: _,
Group: { exprs: Expr[] },
- PropertyMatch: { name: string, exprs: Expr[] },
+ PropertyMatch: { name: string, expr: Expr },
Literal: Literal,
}>
export const Expr = constructors<Expr>()