chore: add window.addCleanup() for cleaning up handlers
This commit is contained in:
1 parent
8a6ebd1939
commit
c00089bd57
12 files changed
+47
-49
No files matched your search
Vendored
+1
@@ -8,5 +8,6 @@ export declare global {
|
||||
}
|
||||
interface Window {
|
||||
spaNavigate(url: URL, isBack: boolean = false)
|
||||
addCleanup(fn: (...args: any[]) => void)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user