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

Skip to content

Commit b3533a6

Browse files
authored
Merge pull request xcatliu#71 from wheatma/fix/typo
fix(typo): ✏️ fix
2 parents 5e0dad8 + 1af4d52 commit b3533a6

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
@@ -103,7 +103,7 @@ let tomcat = buildName('Tom', 'Cat');
103103
let tom = buildName('Tom');
104104
```
105105

106-
需要注意的是,可选参数必须接在必需参数后面。换句话说,**可选参数后面不允许再出现必须参数了**
106+
需要注意的是,可选参数必须接在必需参数后面。换句话说,**可选参数后面不允许再出现必需参数了**
107107

108108
```ts
109109
function buildName(firstName?: string, lastName: string) {

0 commit comments

Comments
 (0)