Fix the lint warnings

This commit is contained in:
Aria Minaei 2022-12-01 16:02:05 +00:00
parent c354a602a4
commit 5b6306bde9

View file

@ -152,7 +152,7 @@ export default class Atom<State> implements IdentityPrismProvider {
/** /**
* Gets the current state of the atom. * Gets the current state of the atom.
* @deprecated * @deprecated use {@link Atom.get} instead
*/ */
getState() { getState() {
return this._currentState return this._currentState
@ -163,7 +163,7 @@ export default class Atom<State> implements IdentityPrismProvider {
} }
/** /**
* @deprecated * @deprecated use {@link Atom.set} instead
*/ */
setState(newState: State) { setState(newState: State) {
this.set(newState) this.set(newState)