From 1af4d5289da1239dd381d95b54a1d9b140342ce5 Mon Sep 17 00:00:00 2001 From: maguowei Date: Tue, 23 Jul 2019 12:07:16 +0800 Subject: [PATCH] fix(typo): :pencil2: fix --- basics/type-of-function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basics/type-of-function.md b/basics/type-of-function.md index fe415c00..5567e59d 100644 --- a/basics/type-of-function.md +++ b/basics/type-of-function.md @@ -103,7 +103,7 @@ let tomcat = buildName('Tom', 'Cat'); let tom = buildName('Tom'); ``` -需要注意的是,可选参数必须接在必需参数后面。换句话说,**可选参数后面不允许再出现必须参数了**: +需要注意的是,可选参数必须接在必需参数后面。换句话说,**可选参数后面不允许再出现必需参数了**: ```ts function buildName(firstName?: string, lastName: string) {