@api.global/typedserver
Version:
A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.
4 lines (3 loc) • 314 B
TypeScript
import * as interfaces from '../../dist_ts_interfaces/index.js';
import type { TypedServer } from '../classes.typedserver.js';
export declare const addServiceWorkerRoute: (typedserverInstance: TypedServer, swDataFunc: () => interfaces.serviceworker.IRequest_Serviceworker_Backend_VersionInfo["response"]) => void;