svelte-common
Version:
common components and utils used in svelte apps
8 lines (7 loc) • 312 B
text/typescript
/**
* Create a store holding a service worker
* @param {string} script The URL of the service worker script
* @param {Object} options An object containing registration options
* @return {Object} store holding the service worker
*/
export function initializeServiceWorker(script: string, options: any): any;