Skip to content

Commit

Permalink
Add module declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
kratos-42 committed Feb 3, 2022
1 parent bb7da97 commit 91e606a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Model } from 'objection';

interface Options {
field?: string;
generateGuid?: () => string | number;
}

export default function(options?: Options): <T extends typeof Model>(ClassModel: T) => T;

0 comments on commit 91e606a

Please sign in to comment.