You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
domains/archive/post-service/src/post-service-spanner.repository.ts:274:11 - error TS2488: Type 'void' must have a '[Symbol.iterator]()' method that returns an iterator.
274 const [partitions] = await transaction.createQueryPartitions(query);
~~~~~~~~~~~~
domains/archive/post-service/src/post-service-spanner.repository.ts:274:44 - error TS2554: Expected 2 arguments, but got 1.
274 const [partitions] = await transaction.createQueryPartitions(query);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@google-cloud/spanner/build/src/batch-transaction.d.ts:111:39
111 createQueryPartitions(query: any, callback: any): void;
~~~~~~~~~~~~~
An argument for 'callback' was not provided.
The problem appears to be that your use of promisifyAll doesn't cause the appropriate method types to be included in the .d.ts file.
Environment details
@google-cloud/spannerversion: 6.12.0Steps to reproduce
samples/batch.jstscerror:The problem appears to be that your use of
promisifyAlldoesn't cause the appropriate method types to be included in the.d.tsfile.