We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8f99cd commit 61f4ee9Copy full SHA for 61f4ee9
src/resolve/interface.ts
@@ -201,7 +201,9 @@ export interface ResolvePolicy {
201
202
export type PolicyWhen = 'LAZY' | 'EAGER';
203
export type PolicyAsync = 'WAIT' | 'NOWAIT' | CustomAsyncPolicy;
204
-export type CustomAsyncPolicy = <TResolveFnResult, TResolveValue>(data: TResolveFnResult) => Promise<TResolveValue>;
+export interface CustomAsyncPolicy {
205
+ (data: any): Promise<any>;
206
+}
207
208
/** @internalapi */
209
export let resolvePolicies = {
0 commit comments