@e-mc/types 0.6.12 → 0.6.13
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/constant.d.ts +1 -1
- package/index.d.ts +1 -1
- package/lib/http.d.ts +5 -0
- package/package.json +1 -1
package/constant.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -251,7 +251,7 @@ declare namespace types {
|
|
|
251
251
|
function isPlainObject<T = PlainObject>(value: unknown): value is T;
|
|
252
252
|
function isString(value: unknown): value is string;
|
|
253
253
|
function isEmpty(value: unknown): boolean;
|
|
254
|
-
function asFunction<U = unknown, V = unknown>(value: unknown, sync?: boolean): Null<FunctionType<
|
|
254
|
+
function asFunction<U = unknown, V = unknown>(value: unknown, sync?: boolean): Null<FunctionType<U, V>>;
|
|
255
255
|
function parseTime(value: NumString, start?: number): number;
|
|
256
256
|
function parseExpires(value: NumString, start?: number): number;
|
|
257
257
|
function formatTime(value: number, char: string): string;
|
package/lib/http.d.ts
CHANGED