inherit.d.ts 373 B

12345678
  1. /**
  2. * @see https://github.com/microsoft/TypeScript/blob/5c85febb0ce9d6088cbe9b09cb42f73f9ee8ea05/src/compiler/transformers/es2015.ts#L4309
  3. */
  4. export declare function inherit(cls: Function, base: Function): void;
  5. /**
  6. * Extends class with specified class name.
  7. */
  8. export declare function createClass<T extends new (...args: any[]) => any>(className: string, base: T): T;