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.
2 parents b80b935 + d98889a commit 1462de9Copy full SHA for 1462de9
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