SQLite Docs Example Problem

So I just met this kind of problem with SQLite using the example from this docs

Using the example I`m getting this kind of error
Argument of type ‘{}’ is not assignable to parameter of type ‘any[]’. Property ‘length’ is missing in type ‘{}’.

You might get confused of what code did I use so here it is i put the code below into my providers page also I inserted native sqlite in app module providers

  name: 'data.db',
  location: 'default'
  .then((db: SQLiteObject) => {
    db.executeSql('create table danceMoves(name VARCHAR(32))', {})
      .then(() => console.log('Executed SQL'))
      .catch(e => console.log(e));
  .catch(e => console.log(e));

I dunno what happen is this some kind of error?