From 029899f719982a891720fa7a7703519ff09e276f Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Tue, 15 Aug 2023 23:28:54 +0300 Subject: [PATCH] fix: dsl.d.ts - define previous param in rule callbacks --- cli/npm/dsl.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/npm/dsl.d.ts b/cli/npm/dsl.d.ts index 78b654f3..507291ac 100644 --- a/cli/npm/dsl.d.ts +++ b/cli/npm/dsl.d.ts @@ -42,6 +42,7 @@ type GrammarSymbols = { type RuleBuilder = ( $: GrammarSymbols, + previous: Rule, ) => RuleOrLiteral; type RuleBuilders<