React+Typescript规范
React+Typescript规范定义用到的类型:type AppProps = { message: string; count: number; disabled: boolean; /** array of a type! */ names: string[]; /** string literals to specify exact string values, with a union type to join them together */ status: "
原创
2020-12-30 19:56:37 ·
338 阅读 ·
0 评论