We would change match to matches and range to ranges
/**
* A preview of the text result.
*/
export interface TextSearchResultPreview {
/**
* The Range within `text` corresponding to the text of the match.
*/
matches: Range[];
}
/**
* A match from a text search
*/
export interface TextSearchLineMatch {
/**
* The range of the match within the document.
*/
ranges: Range[];
}