Update extHostTypes.ts

This commit is contained in:
Manzur Khan Sarguru
2017-12-12 21:41:32 +05:30
committed by GitHub
parent 108327ba56
commit b650ab8b4f

View File

@@ -91,10 +91,10 @@ export class Position {
constructor(line: number, character: number) {
if (line < 0) {
throw illegalArgument('line must be positive');
throw illegalArgument('line must be non-negative');
}
if (character < 0) {
throw illegalArgument('character must be positive');
throw illegalArgument('character must be non-negative');
}
this._line = line;
this._character = character;