diff --git a/lib/index.d.ts b/lib/index.d.ts index 968ff80..e0d54b2 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -13,7 +13,7 @@ interface CancelablePromise extends Promise { interface OrderPromise extends CancelablePromise { channel: C; - prethen(onFulfilled: (value: C) => void): void; + prethen(onFulfilled: (value: T) => void): void; } type UnwrapOrderPromise = A extends OrderPromise ? T : never @@ -45,7 +45,6 @@ export interface WriteChannel { export type ReadWriteChannel = ReadChannel & WriteChannel; - import { Functionalify, Typify } from './functional'; // Ideally these would not be channels of `any`, but I couldn't find a way to pass on the generic arguments type FunctionalInterface =