@spscommerce/asst-api 5.3.0 → 5.3.2

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.
@@ -64,12 +64,12 @@ declare class AsstClient {
64
64
  * @returns Function to unsubscribe to config changes
65
65
  */
66
66
  subscribeToConfigChange(listener: Listener): () => boolean;
67
- get(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
68
- post(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
69
- put(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
70
- patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
67
+ get(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
68
+ post(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
69
+ put(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
70
+ patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
71
71
  head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
72
- delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
72
+ delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
73
73
  }
74
74
 
75
75
  type Hierarchy = {