SearchParserOffset is missing an optional text: string type if the relevant input is not a keyword.
Could be solved by adding text?: string to the SearchParserOffset. The better option would be to create an intersection type for both keyword and non-keyword types.
SearchParserOffset
is missing an optionaltext: string
type if the relevant input is not a keyword.Could be solved by adding
text?: string
to theSearchParserOffset
. The better option would be to create an intersection type for both keyword and non-keyword types.Happy to create a PR for this.