diff --git a/src/decorator/relations/OneToMany.ts b/src/decorator/relations/OneToMany.ts index 802c754e26..e174ba8f08 100644 --- a/src/decorator/relations/OneToMany.ts +++ b/src/decorator/relations/OneToMany.ts @@ -2,8 +2,8 @@ import {getMetadataArgsStorage, ObjectType, RelationOptions} from "../../"; import {RelationMetadataArgs} from "../../metadata-args/RelationMetadataArgs"; /** - * One-to-many relation allows to create type of relation when Entity2 can have multiple instances of Entity1. - * Entity1 have only one Entity2. Entity1 is an owner of the relationship, and storages Entity2 id on its own side. + * One-to-many relation allows to create type of relation when Entity1 can have multiple instances of Entity2. + * Entity2 have only one Entity1. Entity2 is an owner of the relationship, and storages Entity1 id on its own side. */ export function OneToMany(typeFunctionOrTarget: string|((type?: any) => ObjectType), inverseSide: string|((object: T) => any), options?: RelationOptions): PropertyDecorator { return function (object: Object, propertyName: string) {