Fix a bunch of eslint warnings

This commit is contained in:
Aria Minaei 2022-02-23 22:53:39 +01:00
parent 078fa7a849
commit aec6b2a251
17 changed files with 49 additions and 53 deletions

View file

@ -1,5 +1,4 @@
/**
// eslint-disable-next-line
/*
* @jest-environment jsdom
*/
import Atom, {val} from '../../Atom'

View file

@ -338,7 +338,7 @@ type IPrismFn = {
* Creates a derivation from the passed function that adds all derivations referenced
* in it as dependencies, and reruns the function when these change.
*
* @param fn The function to rerun when the derivations referenced in it change.
* @param fn - The function to rerun when the derivations referenced in it change.
*/
const prism: IPrismFn = (fn) => {
return new PrismDerivation(fn)