mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Change lineBreaks property of Token to number
This commit is contained in:
Vendored
+1
-1
@@ -22,7 +22,7 @@ export interface Rule {
|
||||
* It will track line numbers, as long as you apply the `lineBreaks: true`
|
||||
* option to any tokens which might contain newlines. Moo will try to warn you if you forget to do this.
|
||||
*/
|
||||
lineBreaks?: boolean;
|
||||
lineBreaks?: number;
|
||||
/**
|
||||
* Moves the lexer to a new state, and pushes the old state onto the stack.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user