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 dd78378 commit 009c457Copy full SHA for 009c457
typescript/t.d.ts
@@ -317,9 +317,12 @@ interface TFunctionNonStrict<Ns extends Namespace = DefaultNamespace, KPrefix =
317
): TFunctionReturnOptionalDetails<TFunctionProcessReturnValue<$NoInfer<Ret>, DefaultValue>, TOpt>;
318
}
319
320
-export type TFunction<
+type TFunctionSignature<
321
Ns extends Namespace = DefaultNamespace,
322
KPrefix = undefined,
323
> = _StrictKeyChecks extends true ? TFunctionStrict<Ns, KPrefix> : TFunctionNonStrict<Ns, KPrefix>;
324
325
+export interface TFunction<Ns extends Namespace = DefaultNamespace, KPrefix = undefined>
326
+ extends TFunctionSignature<Ns, KPrefix> {}
327
+
328
export type KeyPrefix<Ns extends Namespace> = ResourceKeys<true>[$FirstNamespace<Ns>] | undefined;
0 commit comments