Comparing version 0.7.8 to 0.7.9
@@ -11,7 +11,13 @@ import type { UnionToTuple } from './types.js'; | ||
*/ | ||
export type Entries<T extends object> = UnionToTuple<{ | ||
export type EntriesTuple<T extends object> = UnionToTuple<{ | ||
[K in keyof T]: [K, T[K]]; | ||
}[keyof T]> & [unknown, unknown][]; | ||
/** | ||
* Entries of T | ||
*/ | ||
export type Entries<T extends object> = { | ||
[K in keyof T]: [K, T[K]]; | ||
}[keyof T][]; | ||
export declare function isJSON(str: string): boolean; | ||
export declare function resolveConstructors(object: object): string[]; | ||
export declare function map<const T extends Partial<Record<any, any>>>(items: T): Map<keyof T, T[keyof T]>; |
{ | ||
"name": "utilium", | ||
"version": "0.7.8", | ||
"version": "0.7.9", | ||
"description": "Typescript utilies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -38,4 +38,9 @@ import type { UnionToTuple } from './types.js'; | ||
*/ | ||
export type Entries<T extends object> = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]> & [unknown, unknown][]; | ||
export type EntriesTuple<T extends object> = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]> & [unknown, unknown][]; | ||
/** | ||
* Entries of T | ||
*/ | ||
export type Entries<T extends object> = { [K in keyof T]: [K, T[K]] }[keyof T][]; | ||
export function isJSON(str: string) { | ||
@@ -42,0 +47,0 @@ try { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75611
2137