约束数据的类型
interface Login{
email: string
password:string
}
interface Iuser{
name: string,
email: string
phone: string
current:number
}
interface Iuser2{
name: string,
email: string
password: string
}
export {
Login,Iuser,Iuser2
}
约束数据的类型
interface Login{
email: string
password:string
}
interface Iuser{
name: string,
email: string
phone: string
current:number
}
interface Iuser2{
name: string,
email: string
password: string
}
export {
Login,Iuser,Iuser2
}