20 lines
496 B
TypeScript
20 lines
496 B
TypeScript
|
export * from '../dist_ts_interfaces/index.js';
|
||
|
|
||
|
// =============================
|
||
|
// Interfaces for the service worker
|
||
|
// =============================
|
||
|
// tslint:disable-next-line: interface-name
|
||
|
export interface ServiceEvent extends Event {
|
||
|
request: any;
|
||
|
respondWith: any;
|
||
|
waitUntil: any;
|
||
|
}
|
||
|
|
||
|
// tslint:disable-next-line: interface-name
|
||
|
export interface ServiceWindow extends Window {
|
||
|
addEventListener: any;
|
||
|
location: any;
|
||
|
skipWaiting: any;
|
||
|
clients: any;
|
||
|
}
|
||
|
declare var self: Window;
|