Skip to content

Commit

Permalink
fix: ignore ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Nov 13, 2024
1 parent 68eb203 commit ec02153
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/driver/src/factories/createDriverFactory.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/consistent-type-definitions */

import { Logger } from '../Logger';
import { type Field } from '@slonik/types';
import { generateUid } from '@slonik/utilities';
Expand All @@ -10,7 +12,7 @@ import { type StrictEventEmitter } from 'strict-event-emitter-types';

type StreamDataEvent<T> = { data: T; fields: readonly Field[] };

// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
// @ts-expect-error - TODO figure out how to fix this
export interface DriverStream<T> extends Readable {
[Symbol.asyncIterator]: () => AsyncIterableIterator<StreamDataEvent<T>>;
// eslint-disable-next-line @typescript-eslint/method-signature-style
Expand Down

0 comments on commit ec02153

Please sign in to comment.