UNPKG

@grouparoo/core

Version:
7 lines (6 loc) 299 B
import { Model } from "sequelize-typescript"; import { CommonModel, CommonModelStatic } from "../classes/commonModel"; /** * Given a Sequelize model, get it's name (like "app" or "property") */ export declare function modelName<T>(instance: Model | CommonModel<T> | CommonModelStatic<T>): string;