diff --git a/types/rangy/rangy-tests.ts b/types/rangy/rangy-tests.ts index de2ec468f0..3b177a46b3 100644 --- a/types/rangy/rangy-tests.ts +++ b/types/rangy/rangy-tests.ts @@ -74,6 +74,7 @@ function testRangyRange() { rangyRange.splitBoundaries(); assertString(rangyRange.toHtml()); assertRangyRange(rangyRange.union(rangyRange)); + let characterRange:{start:number, end:number} = rangyRange.toCharacterRange(new Node); } function testSelection() {