【问题标题】:what is the meaning of " = > " in typescript?打字稿中“=>”的含义是什么?
【发布时间】:2017-01-23 15:09:36
【问题描述】:

我看到很多代码 sn-ps 有=>

打字稿文件中的符号。谁能解释一下确切的含义以及为什么要使用。

【问题讨论】:

标签: typescript typescript1.8 typescript-typings typescript1.5 typescript1.6


【解决方案1】:

=> 是一个 lambda 函数。如需精彩介绍,请查看here,或文档here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-12-11
    • 2017-05-25
    • 1970-01-01
    • 1970-01-01
    • 2016-04-08
    • 2018-06-12
    • 2017-01-30
    • 2023-04-10
    相关资源
    最近更新 更多