We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51974c commit 06c1db6Copy full SHA for 06c1db6
src/client/dev/register.ts
@@ -3,5 +3,5 @@ import type { RegisterSWOptions } from '../type'
3
export type { RegisterSWOptions }
4
5
export function registerSW(_options: RegisterSWOptions = {}) {
6
- return (_reloadPage = true) => {}
+ return async (_reloadPage = true) => {}
7
}
0 commit comments