@zuzjs/core 0.3.6 → 0.3.7
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/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -128,9 +128,9 @@ declare const removeDuplicates: <T>(array: T[]) => T[];
|
|
|
128
128
|
declare const removeDuplicateWords: (text: string) => string;
|
|
129
129
|
declare const getCancelToken: () => CancelTokenSource;
|
|
130
130
|
declare const withCredentials: (include: boolean) => boolean;
|
|
131
|
-
declare const withPost: <T>(uri: string, data: any, // 'dynamic' usually maps to 'any' or 'Record<string, any>'
|
|
131
|
+
declare const withPost: <T = dynamic>(uri: string, data: any, // 'dynamic' usually maps to 'any' or 'Record<string, any>'
|
|
132
132
|
timeout?: number, ignoreKind?: boolean, headers?: AxiosRequestConfig["headers"], onProgress?: (ev: AxiosProgressEvent) => void) => Promise<T>;
|
|
133
|
-
declare const withGet: <T>(uri: string, timeout?: number, ignoreKind?: boolean, headers?: AxiosRequestConfig["headers"]) => Promise<T>;
|
|
133
|
+
declare const withGet: <T = dynamic>(uri: string, timeout?: number, ignoreKind?: boolean, headers?: AxiosRequestConfig["headers"]) => Promise<T>;
|
|
134
134
|
declare const withTime: (fun: (...args: any[]) => any) => {
|
|
135
135
|
result: any;
|
|
136
136
|
executionTime: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -128,9 +128,9 @@ declare const removeDuplicates: <T>(array: T[]) => T[];
|
|
|
128
128
|
declare const removeDuplicateWords: (text: string) => string;
|
|
129
129
|
declare const getCancelToken: () => CancelTokenSource;
|
|
130
130
|
declare const withCredentials: (include: boolean) => boolean;
|
|
131
|
-
declare const withPost: <T>(uri: string, data: any, // 'dynamic' usually maps to 'any' or 'Record<string, any>'
|
|
131
|
+
declare const withPost: <T = dynamic>(uri: string, data: any, // 'dynamic' usually maps to 'any' or 'Record<string, any>'
|
|
132
132
|
timeout?: number, ignoreKind?: boolean, headers?: AxiosRequestConfig["headers"], onProgress?: (ev: AxiosProgressEvent) => void) => Promise<T>;
|
|
133
|
-
declare const withGet: <T>(uri: string, timeout?: number, ignoreKind?: boolean, headers?: AxiosRequestConfig["headers"]) => Promise<T>;
|
|
133
|
+
declare const withGet: <T = dynamic>(uri: string, timeout?: number, ignoreKind?: boolean, headers?: AxiosRequestConfig["headers"]) => Promise<T>;
|
|
134
134
|
declare const withTime: (fun: (...args: any[]) => any) => {
|
|
135
135
|
result: any;
|
|
136
136
|
executionTime: number;
|