UNPKG

react-obsidian

Version:

Dependency injection framework for React and React Native applications

10 lines 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getConstructorOrParentConstructor = getConstructorOrParentConstructor; function getConstructorOrParentConstructor(ctor, parentName) { const parent = Object.getPrototypeOf(ctor); if (parent.name === parentName) return ctor; return getConstructorOrParentConstructor(Object.getPrototypeOf(ctor), parentName); } //# sourceMappingURL=object.js.map