Skip to content

Commit bdf5a4e

Browse files
Harrison IfeanyichukwuHarrison Ifeanyichukwu
Harrison Ifeanyichukwu
authored and
Harrison Ifeanyichukwu
committed
fix: make opts optional
1 parent 1b255da commit bdf5a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface CreateEffectCleanerOpts {
3232
*/
3333
export const createEffectCleaner = <T>(
3434
stateModifiers: T,
35-
opts: CreateEffectCleanerOpts
35+
opts?: CreateEffectCleanerOpts
3636
) => {
3737
let _stalled = false;
3838
const { abortController, cancelTokenSource, intervalIds, timeoutIds } =

0 commit comments

Comments
 (0)