Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function Index(columns: { [column: string]: 1 | -1 }, options?: { name?: string, unique?: boolean }) {
const c = cormo.Index(columns, options);
return (ctor: typeof cormo.BaseModel) => {
c(ctor);
};
}