diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-01-13 17:58:36 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2022-01-13 17:59:03 +0530 |
| commit | e26086fef3cf142cffd145836a4c7c12cfeb9656 (patch) | |
| tree | 3db5cbe208ac30b9281599fa61dbe6c910fe4163 /src/types.ts | |
| parent | 1a281a717fe5bab2694bf51c1b03a7569d8facb4 (diff) | |
| download | elxr-e26086fef3cf142cffd145836a4c7c12cfeb9656.tar.gz elxr-e26086fef3cf142cffd145836a4c7c12cfeb9656.zip | |
refactor: propertymatch changed to use single expression (group)
Diffstat (limited to '')
| -rw-r--r-- | src/types.ts | 2 |
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>() |
