Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
addCleanup
1 parent 58773a7 commit 86b4998Copy full SHA for 86b4998
1 file changed
‎src/runtime-utils/utils/suspended.ts‎
@@ -35,7 +35,7 @@ export function cleanupAll() {
35
}
36
37
38
-export function addCleanup(fn: () => unknown) {
+function addCleanup(fn: () => unknown) {
39
window.__cleanup ||= []
40
window.__cleanup.push(fn)
41
0 commit comments