simplytyped
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "simplytyped", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "yet another Typescript type library for advanced types", | ||
@@ -5,0 +5,0 @@ "main": "index", |
import { Diff } from './strings'; | ||
import { False, True } from './conditionals'; | ||
import { Nullable } from './utils'; | ||
export declare type PlainObject = Record<string, any>; | ||
@@ -37,3 +36,3 @@ export declare type ObjectType<T> = { | ||
export declare type Optional<T extends object, K extends Keys<T>> = CombineObjects<{ | ||
[k in K]?: Nullable<T[k]>; | ||
[k in K]?: T[k] | undefined; | ||
}, Omit<T, K>>; | ||
@@ -40,0 +39,0 @@ export declare type DeepReadonly<T> = Readonly<{ |
27173
211