fix: dsl.d.ts - define previous param in rule callbacks
This commit is contained in:
parent
62e96c9f61
commit
029899f719
1 changed files with 1 additions and 0 deletions
1
cli/npm/dsl.d.ts
vendored
1
cli/npm/dsl.d.ts
vendored
|
|
@ -42,6 +42,7 @@ type GrammarSymbols<RuleName extends string> = {
|
|||
|
||||
type RuleBuilder<RuleName extends string> = (
|
||||
$: GrammarSymbols<RuleName>,
|
||||
previous: Rule,
|
||||
) => RuleOrLiteral;
|
||||
|
||||
type RuleBuilders<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue