Skip to content

Commit 0608eec

Browse files
committed
fix: export model instance
1 parent 962ac76 commit 0608eec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/models/role.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface RoleAttributes {
1313

1414
interface RoleCreationAttributes extends Optional<RoleAttributes, 'id'> {}
1515

16-
interface RoleInstance
16+
export interface RoleInstance
1717
extends Model<RoleAttributes, RoleCreationAttributes>,
1818
RoleAttributes {}
1919

src/models/user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface EmailAttributes {
3636

3737
interface UserCreationAttributes extends Optional<UserAttributes, 'id'> {}
3838

39-
interface UserInstance
39+
export interface UserInstance
4040
extends Model<UserAttributes, UserCreationAttributes>,
4141
UserAttributes {
4242
comparePassword(): boolean | void

src/models/userrole.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface UserRoleAttributes {
1515
interface UserRoleCreationAttributes
1616
extends Optional<UserRoleAttributes, 'id'> {}
1717

18-
interface UserRoleInstance
18+
export interface UserRoleInstance
1919
extends Model<UserRoleAttributes, UserRoleCreationAttributes>,
2020
UserRoleAttributes {}
2121

0 commit comments

Comments
 (0)