diff --git a/types/moo/index.d.ts b/types/moo/index.d.ts index fa3a59d2ab..f36b6c05df 100644 --- a/types/moo/index.d.ts +++ b/types/moo/index.d.ts @@ -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. */