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