More lint fixes
This commit is contained in:
parent
2c238f40fd
commit
c9959b9541
1 changed files with 3 additions and 3 deletions
|
@ -201,9 +201,9 @@ function ref<T>(key: string, initialValue: T): IRef<T> {
|
||||||
/**
|
/**
|
||||||
* An effect hook, similar to react's `useEffect()`.
|
* An effect hook, similar to react's `useEffect()`.
|
||||||
*
|
*
|
||||||
* @param key: the key for the effect. Should be uniqe inside of the prism.
|
* @param key - the key for the effect. Should be uniqe inside of the prism.
|
||||||
* @param cb: the callback function. Optionally returns a cleanup function.
|
* @param cb - the callback function. Optionally returns a cleanup function.
|
||||||
* @param deps?: the dependency array
|
* @param deps - the dependency array
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function effect(key: string, cb: () => () => void, deps?: unknown[]): void {
|
function effect(key: string, cb: () => () => void, deps?: unknown[]): void {
|
||||||
|
|
Loading…
Reference in a new issue