- 博客(2)
- 收藏
- 关注
原创 typeScript学习之路
typeScript学习之路初步了解ts语法// 1.静态类型 也可以通过 interface 的方式自定义一个类型let one: String = '1';interface type1 { name:String, age:number, arr?:a[],} type a ={ name:string, age:number }let two: type1 = { name:'haahh', age:1,};
2021-09-27 11:14:47
608
原创 react hooks ➕ umijs的使用
react hooks ts 项目的搭建开始使用 - Ant Design Pro下载命令 npx create-umi myapp yarn create umi myapp组件的使用组件的基本用法 tsxconst one:React.FC = () =>{ return ()}export default one;组件之间的传值import two from ./two;const one:React.FC = ()
2021-09-27 11:06:27
1194
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅