- export UserEntity as User to provide alternative import name - improve code usability by offering shorter import syntax
@@ -70,4 +70,6 @@ export class UserEntity {
constructor(partial?: Partial<UserEntity>) {
Object.assign(this, partial);
}
-}
+}
+
+export { UserEntity as User }