avoid more implicit any and some 💄

This commit is contained in:
Benjamin Pasero
2017-09-04 11:20:09 +02:00
parent 7712905526
commit bef497ff82
114 changed files with 282 additions and 296 deletions

View File

@@ -78,7 +78,7 @@ export class ExtHostDocumentData extends MirrorModel {
getText(range?) { return range ? data._getTextInRange(range) : data.getText(); },
get eol() { return data._eol === '\n' ? EndOfLine.LF : EndOfLine.CRLF; },
get lineCount() { return data._lines.length; },
lineAt(lineOrPos) { return data._lineAt(lineOrPos); },
lineAt(lineOrPos: number | vscode.Position) { return data._lineAt(lineOrPos); },
offsetAt(pos) { return data._offsetAt(pos); },
positionAt(offset) { return data._positionAt(offset); },
validateRange(ran) { return data._validateRange(ran); },