feat: improve store and model typing
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
import AbstractModel from './abstractModel'
|
||||
|
||||
export default class EmailUpdateModel extends AbstractModel {
|
||||
interface IEmailUpdate {
|
||||
newEmail: string
|
||||
password: string
|
||||
}
|
||||
|
||||
export default class EmailUpdateModel extends AbstractModel implements IEmailUpdate {
|
||||
declare newEmail: string
|
||||
declare password: string
|
||||
|
||||
defaults() {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user