Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 692327d

Browse files
authored
强调部分语句
1 parent 28f2a3f commit 692327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basics/type-of-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function reverse(x: number | string): number | string {
193193
}
194194
```
195195

196-
然而这样有一个缺点,就是不能够精确的表达,输入为数字的时候,输出也应该为数字,输入为字符串的时候,输出也应该为字符串。
196+
**然而这样有一个缺点,就是不能够精确的表达,输入为数字的时候,输出也应该为数字,输入为字符串的时候,输出也应该为字符串。**
197197

198198
这时,我们可以使用重载定义多个 `reverse` 的函数类型:
199199

0 commit comments

Comments
 (0)