其他分享
首页 > 其他分享> > TS定义类型

TS定义类型

作者:互联网

export type OrcInsuranceRecordsTypeBarForm = {   id?: number   carNumber?: string   subCompanyId?: string   remarkDesc?: string   insuranceVos?: {     insuranceType?: number     insuranceBillcode?: string     insuranceCompany?: string     insuranceInsuredDate?: any     insuranceInsuredCost?: number     insuranceDueDate?: string   }[]   attachmentCos?: {     fileCategory?: string     fileSuffix?: string     fileName?: string     fileSize?: string     fileUrl?: string   }[] } 定义数组对象时   直接定义好对象后在后面加 [ ]  表示为数组 

标签:string,subCompanyId,number,TS,export,数组,类型,定义
来源: https://www.cnblogs.com/baole/p/16623023.html