Fix the lint warnings
This commit is contained in:
parent
c354a602a4
commit
5b6306bde9
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ export default class Atom<State> implements IdentityPrismProvider {
|
|||
|
||||
/**
|
||||
* Gets the current state of the atom.
|
||||
* @deprecated
|
||||
* @deprecated use {@link Atom.get} instead
|
||||
*/
|
||||
getState() {
|
||||
return this._currentState
|
||||
|
@ -163,7 +163,7 @@ export default class Atom<State> implements IdentityPrismProvider {
|
|||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @deprecated use {@link Atom.set} instead
|
||||
*/
|
||||
setState(newState: State) {
|
||||
this.set(newState)
|
||||
|
|
Loading…
Reference in a new issue