fix(dsl): add support for rule refs to externals
This commit is contained in:
parent
e4d64457c3
commit
ae738c3c0f
1 changed files with 1 additions and 1 deletions
2
cli/npm/dsl.d.ts
vendored
2
cli/npm/dsl.d.ts
vendored
|
|
@ -102,7 +102,7 @@ interface Grammar<
|
|||
externals?: (
|
||||
$: Record<string, SymbolRule<string>>,
|
||||
previous: Rule[],
|
||||
) => SymbolRule<string>[];
|
||||
) => (SymbolRule<string> | RegExp | string)[];
|
||||
|
||||
/**
|
||||
* An array of tokens that may appear anywhere in the language. This
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue