Skip to content

Commit

Permalink
chore: val and put again
Browse files Browse the repository at this point in the history
  • Loading branch information
betula committed Nov 30, 2023
1 parent f9889fb commit 5b84645
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ export declare const getter: <P>(box: Box<P> | BoxFaceClass<P>) => () => P;
export declare const set: <P>(box: Box<P, 'writable'> | BoxFaceWritableClass<P>, value: P) => void;
export declare const setter: <P>(box: Box<P, 'writable'> | BoxFaceWritableClass<P>) => (value: P) => P;

/** @deprecated will be removed in 2.0.0, use "get" method instead */
export declare const val: typeof get;
export declare const put: typeof set;

/** @deprecated will be removed in 2.0.0, use "get" method instead */
export declare const read: typeof get;

/** @deprecated will be removed in 2.0.0, use "set" method instead */
export declare const put: typeof set;

/** @deprecated will be removed in 2.0.0, use "set" method instead */
export declare const write: typeof set;

Expand Down

0 comments on commit 5b84645

Please sign in to comment.