@e-mc/types 0.7.15 → 0.7.16
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 +1 -1
- package/lib/http.d.ts +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -263,7 +263,7 @@ declare namespace types {
|
|
|
263
263
|
function isPlainObject<T = PlainObject>(value: unknown): value is T;
|
|
264
264
|
function isString(value: unknown): value is string;
|
|
265
265
|
function isEmpty(value: unknown): boolean;
|
|
266
|
-
function asFunction<U = unknown, V = unknown>(value: unknown, sync?: boolean): Null<FunctionType<
|
|
266
|
+
function asFunction<U = unknown, V = unknown>(value: unknown, sync?: boolean): Null<FunctionType<U, V>>;
|
|
267
267
|
function parseTime(value: NumString, start?: number): number;
|
|
268
268
|
function parseExpires(value: NumString, start?: number): number;
|
|
269
269
|
function formatTime(value: number, char: string): string;
|
package/lib/http.d.ts
CHANGED