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