validate-options.d.ts 714 B

123456789
  1. import { GenerateSWOptions, GetManifestOptions, InjectManifestOptions, WebpackGenerateSWOptions, WebpackInjectManifestOptions } from '../types';
  2. export declare class WorkboxConfigError extends Error {
  3. constructor(message?: string);
  4. }
  5. export declare function validateGenerateSWOptions(input: unknown): GenerateSWOptions;
  6. export declare function validateGetManifestOptions(input: unknown): GetManifestOptions;
  7. export declare function validateInjectManifestOptions(input: unknown): InjectManifestOptions;
  8. export declare function validateWebpackGenerateSWOptions(input: unknown): WebpackGenerateSWOptions;
  9. export declare function validateWebpackInjectManifestOptions(input: unknown): WebpackInjectManifestOptions;