Pārlūkot izejas kodu

🔧 chore(users): add alias export for UserEntity

- export UserEntity as User to provide alternative import name
- improve code usability by offering shorter import syntax
yourname 2 mēneši atpakaļ
vecāks
revīzija
464955a873
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      src/server/modules/users/user.entity.ts

+ 3 - 1
src/server/modules/users/user.entity.ts

@@ -70,4 +70,6 @@ export class UserEntity {
   constructor(partial?: Partial<UserEntity>) {
     Object.assign(this, partial);
   }
-}
+}
+
+export { UserEntity as User }