1 定义未知属性的对象
let clearPersonFormObj: { [propName: string]: any } = {};
clearPersonFormObj[item.dataKey] = '';
2类型命名大驼峰 SourType
3设为可选 <Partial> useState<Partial<API.SaftyCheckOutput>>({})
4Recordable 为T useState<Recordable<API.ComSaftyOutput>>({});
5继承 interface SourseType extends a { key: number; xx?: ccc; }
可以直接用 type xxx = a & { xx:ccc }