fybdp-d3-kg
Version:
Knowledge Graph using React and D3.js
16 lines (15 loc) • 486 B
TypeScript
/**
* Used to subclass an existing class by emulating ES subclassing using the
* `extends` keyword.
*
* @param {Function} superClass
* The class to inherit from
*
* @param {Object} [subClassMethods={}]
* Methods of the new class
*
* @return {Function}
* The new class with subClassMethods that inherited superClass.
*/
declare const extend: (superClass: any, subClassMethods?: {}) => () => void;
export default extend;