UNPKG

objection-guid

Version:
9 lines (6 loc) 207 B
import { Model } from 'objection'; interface Options { field?: string; generateGuid?: () => string | number; } export default function(options?: Options): <T extends typeof Model>(ClassModel: T) => T;