@zuplo/graphql 5.1797.0 → 5.1801.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -644,6 +644,10 @@ declare interface RouteConfiguration extends Omit<BuildRouteConfiguration, "raw"
644
644
 
645
645
  declare type UserDataDefault = any;
646
646
 
647
+ declare interface WaitUntilFunc {
648
+ (promise: Promise<any>): void;
649
+ }
650
+
647
651
  /**
648
652
  * @beta
649
653
  */
@@ -663,7 +667,7 @@ declare interface ZuploContext extends EventTarget {
663
667
  readonly custom: Record<string, any>;
664
668
  readonly incomingRequestProperties: IncomingRequestProperties;
665
669
  readonly invokeInboundPolicy: (policyName: string, request: ZuploRequest) => Promise<Response | ZuploRequest>;
666
- readonly waitUntil: (promise: Promise<any>) => void;
670
+ readonly waitUntil: WaitUntilFunc;
667
671
  /**
668
672
  * Fires just before the response is sent. Response can be modified.
669
673
  */