mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-01 07:49:43 +02:00
refactor: reduce number of leaked anys (#7465)
This commit is contained in:
parent
6e62bba30f
commit
89b0fff128
39 changed files with 121 additions and 89 deletions
|
@ -320,6 +320,6 @@ if (typeof window !== 'undefined') {
|
|||
addLegacyAppInstalledEventsListeners();
|
||||
|
||||
// Then try to register the SW using lazy/dynamic imports
|
||||
registerSW().catch((e) => console.error('registerSW failed', e));
|
||||
registerSW().catch((e: unknown) => console.error('registerSW failed', e));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue