Heim  >  Fragen und Antworten  >  Hauptteil

javascript - Was bedeutet diese Schreibweise <> in JS?

export function combineReducers<S>(reducers: ReducersMapObject): Reducer<S>;

上边代码是redux中的一段,求解释<>这个是神马意思
三叔三叔2662 Tage vor678

Antworte allen(3)Ich werde antworten

  • 黄舟

    黄舟2017-07-05 10:52:56

    这个是typescript里面的吧?表示泛型。

    Antwort
    0
  • 黄舟

    黄舟2017-07-05 10:52:56

    这是typescript里面的泛型
    https://www.tslang.cn/docs/ha...

    Antwort
    0
  • 世界只因有你

    世界只因有你2017-07-05 10:52:56

    typescript中的泛型,功能类似java和C++

    Antwort
    0
  • StornierenAntwort