javascript - js对象 前面有个type是什么用法 (如图)
巴扎黑
巴扎黑 2017-04-10 17:14:31
0
1
336

如图中

 type Props = {
  demo: Object,
  changeStatus: Function
} 
//有人说 是FB的 数据检查器的写法  不过我想知道更详细一点的api
巴扎黑
巴扎黑

reply all(1)
PHPzhong

十分像typescript

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template