let [err, data] = await to(
knex('temp').insert({
// some code
})
)
"Argument of type 'QueryBuilder' is not assignable to parameter of type 'Promise<any>'.
Property '[Symbol.toStringTag]' is missing in type 'QueryBuilder' but required in type 'Promise<any>'."
I checked some closed issues and it seems that #21 had solved this. I have checked the commit history and now it seems to have reverted back to Promise<T>.
I checked some closed issues and it seems that #21 had solved this. I have checked the commit history and now it seems to have reverted back to
Promise<T>
.So any workaround for this scenario? @scopsy