aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/types.ts b/src/types.ts
index 7863981..7f6546f 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1,19 +1,19 @@
import { constructors, Union } from "./utils"
type ExprT = {
- Start: any,
- End: any,
+ Start: null,
+ End: null,
Optional: { expr: Expr },
OneOrMore: { expr: Expr },
ZeroOrMore: { expr: Expr },
- NextItem: any,
- AnyItem: any,
- Or: any,
- AnyString: any,
- AnyNumber: any,
- AnyBool: any,
- Truthy: any,
- Falsey: any,
+ NextItem: null,
+ AnyItem: null,
+ Or: { left: Expr, right: Expr[] },
+ AnyString: null,
+ AnyNumber: null,
+ AnyBool: null,
+ Truthy: null,
+ Falsey: null,
Group: { exprs: Expr[] },
}