1
Fork 0

Remove readonly from Value properties.

This commit is contained in:
Bauke 2022-12-28 12:36:06 +01:00
parent 9fc2dbcbcb
commit c464983440
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 4 additions and 4 deletions

View File

@ -35,10 +35,10 @@ export async function createValue<T>(
type Props<T> = Required<ValueOptions<T>>; type Props<T> = Required<ValueOptions<T>>;
export class Value<T> implements Props<T> { export class Value<T> implements Props<T> {
public readonly deserialize: Props<T>["deserialize"]; public deserialize: Props<T>["deserialize"];
public readonly key: Props<T>["key"]; public key: Props<T>["key"];
public readonly serialize: Props<T>["serialize"]; public serialize: Props<T>["serialize"];
public readonly storage: Props<T>["storage"]; public storage: Props<T>["storage"];
private inner: Props<T>["value"]; private inner: Props<T>["value"];