diff --git a/types/moo/index.d.ts b/types/moo/index.d.ts index fa3a59d2ab..fd53f98e0a 100644 --- a/types/moo/index.d.ts +++ b/types/moo/index.d.ts @@ -104,7 +104,7 @@ export interface Token { /** * The number of line breaks found in the match. (Always zero if this rule has lineBreaks: false.) */ - lineBreaks: boolean; + lineBreaks: number; /** * The line number of the beginning of the match, starting from 1. */