index.d.ts 659 B

123456789101112131415161718192021
  1. type UserInfoType = {
  2. accountInfoId: number, // 账号信息主键ID
  3. trafficMasterCode: string, // 流量主Code
  4. phone: string, // 手机号
  5. email: string, // 邮箱
  6. companyInfoId: number, // 公司信息表主键ID
  7. companyName: string, // 公司名称
  8. contactPerson: string, // 联系人
  9. bankAccountCompany: string, // 开户公司
  10. companyAddress: string, // 公司所在地
  11. bankName: string, // 名称银行
  12. bankAccount: string // 银行账号
  13. }
  14. // 定义组件的事件类型
  15. type EventFunctionType<T extends unknown[]> = (...params: T) => void
  16. type Keys = number | string
  17. interface MapType<V> {
  18. [key: string|number|symbol]: V
  19. }