+ Added writable
This commit is contained in:
parent
482c90b53b
commit
cdcaeda67c
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/utils",
|
||||
"version": "0.24.6",
|
||||
"version": "0.24.7",
|
||||
"description": "Utility library",
|
||||
"author": "Zak Timson",
|
||||
"license": "MIT",
|
||||
|
@ -22,6 +22,6 @@ export function typeKeys<T extends object>() {
|
||||
/**
|
||||
* Mark all properties as writable
|
||||
*/
|
||||
type Writable<T> = {
|
||||
export type Writable<T> = {
|
||||
-readonly [P in keyof T]: T[P]
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user