@swan-io/boxed
Advanced tools
Comparing version 1.0.0 to 1.0.1
import { LooseRecord } from "./types"; | ||
export declare const entries: <T extends LooseRecord<unknown>>(value: T) => { [K in keyof T]: [K, T[K]]; }[keyof T][]; | ||
export declare const entries: <T extends LooseRecord<unknown>>(value: T) => { [K in keyof T]-?: [K, T[K]]; }[keyof T][]; | ||
export declare const keys: <T extends LooseRecord<unknown>>(value: T) => (keyof T)[]; | ||
export declare const values: <T extends LooseRecord<unknown>>(value: T) => T[keyof T][]; |
export type LooseRecord<T> = Record<PropertyKey, T>; | ||
export type Concrete<T> = { | ||
[K in keyof T]-?: T[K]; | ||
}; | ||
export type Remap<T> = { | ||
[K in keyof T]: T[K]; | ||
}; |
@@ -0,1 +1,7 @@ | ||
# 1.0.1 | ||
Changes: | ||
- Fix `Dict.entries` type (142b7c7) | ||
# 1.0.0 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@swan-io/boxed", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Utility types for functional TypeScript", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
166995
632