UNPKG

objectypes

Version:

A type-safe library to transform and validate objects

8 lines (7 loc) 271 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.findParentClass = void 0; function findParentClass(klass) { return klass.prototype ? Object.getPrototypeOf(klass.prototype) : undefined; } exports.findParentClass = findParentClass;