Skip to content
QQ笔记
Main Navigation
首页
听歌
知识点记录
TS
面视
Html和Css
JS
常见面试题
Vue
Appearance
On this page
Table of Contents for current page
函数类型
#
单独指定参数、返回值的类型:
ts
const
add
=
(
n1
:
Number
,
n2
:
Number
):
Number
=>
{
return
n1
+
n2
}
。。。。。。。。
#