Remove readonly from Value properties.
This commit is contained in:
parent
9fc2dbcbcb
commit
c464983440
|
@ -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"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue