e768072bb4cfc39a105b97c347de75b231a1e909fec0c68378b4b428b9739bf75a77e346c8a344b2b2465507a395c5d05fd8e04e93bb9ac3fa0b25827b164b 572 B

1234567891011
  1. /**
  2. * Used to create Error subclasses until the community moves away from ES5.
  3. *
  4. * This is because compiling from TypeScript down to ES5 has issues with subclassing Errors
  5. * as well as other built-in types: https://github.com/Microsoft/TypeScript/issues/12123
  6. *
  7. * @param createImpl A factory function to create the actual constructor implementation. The returned
  8. * function should be a named function that calls `_super` internally.
  9. */
  10. export declare function createErrorClass<T>(createImpl: (_super: any) => any): T;
  11. //# sourceMappingURL=createErrorClass.d.ts.map