assert.d.ts 731 B

12345678910111213
  1. import { WorkboxErrorDetails } from '../_private/WorkboxError.js';
  2. import '../_version.js';
  3. declare const finalAssertExports: {
  4. hasMethod: (object: {
  5. [key: string]: any;
  6. }, expectedMethod: string, details: WorkboxErrorDetails) => void;
  7. isArray: (value: any[], details: WorkboxErrorDetails) => void;
  8. isInstance: (object: {}, expectedClass: Function, details: WorkboxErrorDetails) => void;
  9. isOneOf: (value: any, validValues: any[], details: WorkboxErrorDetails) => void;
  10. isType: (object: {}, expectedType: string, details: WorkboxErrorDetails) => void;
  11. isArrayOfClass: (value: any, expectedClass: Function, details: WorkboxErrorDetails) => void;
  12. } | null;
  13. export { finalAssertExports as assert };