diff --git a/src/sql/workbench/api/common/sqlExtHostTypes.ts b/src/sql/workbench/api/common/sqlExtHostTypes.ts index 43cb19f8f1..cdebe8940d 100644 --- a/src/sql/workbench/api/common/sqlExtHostTypes.ts +++ b/src/sql/workbench/api/common/sqlExtHostTypes.ts @@ -549,7 +549,7 @@ export class CellRange { } constructor(start: number, end: number) { - if (typeof (start) !== 'number' || typeof (start) !== 'number' || start < 0 || end < 0) { + if (typeof (start) !== 'number' || typeof (end) !== 'number' || start < 0 || end < 0) { throw new Error('Invalid arguments'); }