suchen

Heim  >  Fragen und Antworten  >  Hauptteil

javascript - js对象 前面有个type是什么用法 (如图)

如图中

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

Antworte allen(1)Ich werde antworten

  • PHPz

    PHPz2017-04-10 17:16:31

    十分像typescript

    Antwort
    0
  • StornierenAntwort