We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a39640 commit bbd3abcCopy full SHA for bbd3abc
src/common/database/base.repository.ts
@@ -2,7 +2,6 @@ import type {
2
Dictionary,
3
EntityData,
4
EntityManager,
5
- EntityName,
6
FilterQuery,
7
FindOptions,
8
Loaded,
@@ -45,11 +44,11 @@ export class BaseRepository<T extends BaseEntity> extends EntityRepository<T> {
45
44
}
46
47
/**
48
- * The function `getEntityName()` returns the entity name of type `EntityName<T>`.
49
- * @returns The entity name of type `EntityName<T>`.
+ * Returns the entity name.
+ * @returns The entity name as a string.
50
*/
51
- getEntityName(): EntityName<T> {
52
- return this.entityName;
+ getEntityName(): string {
+ return this.entityName.toString();
53
54
55
0 commit comments