frontend/.pnpm-store/v3/files/b1/e768072bb4cfc39a105b97c347de75b231a1e909fec0c68378b4b428b9739bf75a77e346c8a344b2b2465507a395c5d05fd8e04e93bb9ac3fa0b25827b164b

11 lines
572 B
Plaintext

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