mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 17:23:29 -05:00
Remove typings and replace missing methods with vscodes (#8217)
* remove typings and replace missing methods with vscodes * fix strict-null-checks * fix tests
This commit is contained in:
@@ -85,7 +85,7 @@ suite('TableDataView', () => {
|
||||
const ret = new Array<number>();
|
||||
for (let i = 0; i < columnCount; i++) {
|
||||
const colVal = val[getColumnName(i)];
|
||||
if (colVal && colVal.toLocaleLowerCase().includes(exp.toLocaleLowerCase())) {
|
||||
if (colVal && colVal.toLocaleLowerCase().indexOf(exp.toLocaleLowerCase()) > -1) {
|
||||
ret.push(i);
|
||||
}
|
||||
}
|
||||
@@ -118,7 +118,7 @@ suite('TableDataView', () => {
|
||||
const ret = new Array<number>();
|
||||
for (let i = 0; i < columnCount; i++) {
|
||||
const colVal = val[getColumnName(i)];
|
||||
if (colVal && colVal.toLocaleLowerCase().includes(exp.toLocaleLowerCase())) {
|
||||
if (colVal && colVal.toLocaleLowerCase().indexOf(exp.toLocaleLowerCase()) > -1) {
|
||||
ret.push(i);
|
||||
}
|
||||
}
|
||||
@@ -156,7 +156,7 @@ suite('TableDataView', () => {
|
||||
const ret = new Array<number>();
|
||||
for (let i = 0; i < columnCount; i++) {
|
||||
const colVal = val[getColumnName(i)];
|
||||
if (colVal && colVal.toLocaleLowerCase().includes(exp.toLocaleLowerCase())) {
|
||||
if (colVal && colVal.toLocaleLowerCase().indexOf(exp.toLocaleLowerCase()) > -1) {
|
||||
ret.push(i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user