Skip to content

Commit

Permalink
Update api.d.ts to properly define input (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-dean authored Aug 23, 2023
1 parent ac58066 commit a0a3856
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/types/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,8 @@ declare abstract class BaseParser {
grammarPath: ITokenGrammarPath,
): TokenType[];

input: IToken[];
set input(value: IToken[]);
get input(): IToken[];

/**
* Will consume a single token and return the **next** token, meaning
Expand Down

0 comments on commit a0a3856

Please sign in to comment.