From ae738c3c0f02557960c9c45b3bbac6f8ccb292f3 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Tue, 24 Jan 2023 14:25:29 +0200 Subject: [PATCH] fix(dsl): add support for rule refs to externals --- cli/npm/dsl.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/npm/dsl.d.ts b/cli/npm/dsl.d.ts index fdf43b55..316400f8 100644 --- a/cli/npm/dsl.d.ts +++ b/cli/npm/dsl.d.ts @@ -102,7 +102,7 @@ interface Grammar< externals?: ( $: Record>, previous: Rule[], - ) => SymbolRule[]; + ) => (SymbolRule | RegExp | string)[]; /** * An array of tokens that may appear anywhere in the language. This