Skip to content

Commit f5a7133

Browse files
authored
Merge pull request #9 from ovos/v3-mod-model-type-fix
expand allowed types for tableRefFor and tableNameFor
2 parents ead6476 + 41ae715 commit f5a7133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/objection/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ declare namespace Objection {
613613
}
614614

615615
interface TableRefForMethod {
616-
(modelClass: typeof Model): string;
616+
(modelClass: ModelClass<Model> | typeof Model): string;
617617
}
618618

619619
interface AliasForMethod<QB extends AnyQueryBuilder> {

0 commit comments

Comments
 (0)