We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7784de commit cd69b40Copy full SHA for cd69b40
1 file changed
typings/objection/index.d.ts
@@ -693,10 +693,12 @@ declare namespace Objection {
693
}
694
695
interface TableRefForMethod {
696
- (modelClass: ModelClass<Model> | typeof Model): string;
+ (modelClassOrTableName: string | AnyModelConstructor): string | null;
697
+ // The setter variant is not public.
698
699
700
interface AliasForMethod<QB extends AnyQueryBuilder> {
701
702
(modelClassOrTableName: string | AnyModelConstructor, alias: string): QB;
703
704
0 commit comments