From d54a554ba1a42593554fe1a633552e0e17ba3eee Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 6 Jan 2025 05:46:31 +0900 Subject: [PATCH] docs: update EntityManager.ts docs (#10875) --- src/entity-manager/EntityManager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity-manager/EntityManager.ts b/src/entity-manager/EntityManager.ts index d65d3877d..b4d973704 100644 --- a/src/entity-manager/EntityManager.ts +++ b/src/entity-manager/EntityManager.ts @@ -1335,7 +1335,7 @@ export class EntityManager { if (isNaN(Number(value))) throw new TypeORMError(`Value "${value}" is not a number.`) - // convert possible embeded path "social.likes" into object { social: { like: () => value } } + // convert possible embedded path "social.likes" into object { social: { like: () => value } } const values: QueryDeepPartialEntity = propertyPath .split(".") .reduceRight( @@ -1372,7 +1372,7 @@ export class EntityManager { if (isNaN(Number(value))) throw new TypeORMError(`Value "${value}" is not a number.`) - // convert possible embeded path "social.likes" into object { social: { like: () => value } } + // convert possible embedded path "social.likes" into object { social: { like: () => value } } const values: QueryDeepPartialEntity = propertyPath .split(".") .reduceRight(