diff --git a/src/types/context.ts b/src/types/context.ts index 1598989..a4c048e 100644 --- a/src/types/context.ts +++ b/src/types/context.ts @@ -94,7 +94,7 @@ export class Context { * * @returns A promise that resolves to a type guard function. The type guard function returns `true` if the data object was successfully hydrated, otherwise `false`. */ - public hydrator = async >, K extends Array>(data: T, expectations: K) => { + public hydrator = async >(data: T, expectations: K) => { return hydrator(data, expectations, this.client, this.api); }