Skip to content

Commit 86b4998

Browse files
committed
refactor(runtime-utils): do not export addCleanup
1 parent 58773a7 commit 86b4998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime-utils/utils/suspended.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function cleanupAll() {
3535
}
3636
}
3737

38-
export function addCleanup(fn: () => unknown) {
38+
function addCleanup(fn: () => unknown) {
3939
window.__cleanup ||= []
4040
window.__cleanup.push(fn)
4141
}

0 commit comments

Comments
 (0)