UNPKG

extendo-error

Version:

Safely and simply extend native Error with prototype chaining support

10 lines (9 loc) 243 B
import { ChildError } from "./"; export default class GrandChildError extends ChildError { functionA(): void; functionB(): void; readonly propertyA: string; readonly propertyB: string; fieldA: string; fieldB: string; }