We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bfbc0 commit 6f95077Copy full SHA for 6f95077
grafast/dataplan-pg/src/adaptors/pg.ts
@@ -539,7 +539,8 @@ export class PgSubscriber<
539
}
540
if (queue.length > 0) {
541
const promises = queue.splice(0, queue.length);
542
- promises.forEach((p) => p.resolve(finished!));
+ const f = finished; // Appease TypeScript
543
+ promises.forEach((p) => p.resolve(f));
544
545
eventEmitter.removeListener(topic as string, recv);
546
// Every code path above this has to go through a `yield` and thus
0 commit comments