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 b80b935 commit d98889aCopy full SHA for d98889a
lib/models/Model.d.ts
@@ -444,7 +444,7 @@ export declare abstract class Model<T extends Model<T>> extends Hooks {
444
/**
445
* Returns related instance (specified by propertyKey) of source instance
446
*/
447
- $get<R extends Model<R>>(propertyKey: string, options?: any): Promise<R | R[]>; // TODO@robin options interface
+ $get<R extends Model<R>>(propertyKey: string, options?: any): Promise<R>; // TODO@robin options interface
448
449
450
* Counts related instances (specified by propertyKey) of source instance
0 commit comments