Comparing version 0.1.0 to 0.1.1
@@ -7,3 +7,3 @@ declare function birecord<const T extends Record<any, any>>(original: T): BiRecord<T>; | ||
get<U extends keyof T | T[keyof T]>(key: U): U extends keyof T ? T[U] : U extends T[keyof T] ? Reverse<T>[U] : unknown; | ||
has<U extends keyof T | T[keyof T]>(key: U): boolean; | ||
has(key: any): key is keyof T | T[keyof T]; | ||
} | ||
@@ -10,0 +10,0 @@ declare function reverse<T extends Record<any, any>>(record: T): Reverse<T>; |
{ | ||
"name": "birecord", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Bi-directional record in type-safe way", | ||
@@ -5,0 +5,0 @@ "main": "./dist/mod.js", |
Sorry, the diff of this file is not supported yet
4597