Home  >  Q&A  >  body text

javascript - What does this way of writing <> in js mean?

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

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

reply all(3)I'll reply

  • 黄舟

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

    Is this in typescript? Represents generics.

    reply
    0
  • 黄舟

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

    This is generics in typescript
    https://www.tslang.cn/docs/ha...

    reply
    0
  • 世界只因有你

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

    Generics in typescript, functions similar to java and C++

    reply
    0
  • Cancelreply