Argument of type '{}' is not assignable to parameter of type 'any[]'. Property 'length' is missing in type


#1

[app-scripts] [16:11:21] typescript: E:/MyApp/LPNAN/src/pages/home/home.ts, line: 32
[app-scripts] Argument of type ‘{}’ is not assignable to parameter of type ‘any[]’. Property ‘length’ is missing in type
[app-scripts] ‘{}’.
[app-scripts] L31: }).then((db: SQLiteObject) => {
[app-scripts] L32: EXISTS products(rowid INTEGER PRIMARY KEY, date TEXT, div TEXT,barcode TEXT, name TEXT, shelflife INT)’, {})
[app-scripts] L33: .then(res => console.log(‘Executed SQL’))


#2

Hi,

I thinks that the error message is self explanatory. What you do need?