From 4e7812ddd9e75ce5623bddb24fa04efcebe2e98f Mon Sep 17 00:00:00 2001 From: Discreater <941354277@qq.com> Date: Fri, 26 Mar 2021 01:51:43 +0800 Subject: [PATCH] Add missing "?" notion --- src/items/type-aliases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/type-aliases.md b/src/items/type-aliases.md index c471f7a6a..3d555d563 100644 --- a/src/items/type-aliases.md +++ b/src/items/type-aliases.md @@ -3,7 +3,7 @@ > **Syntax**\ > _TypeAlias_ :\ >    `type` [IDENTIFIER] [_GenericParams_]? -> [_WhereClause_]? ( `=` [_Type_] ) `;` +> [_WhereClause_]? ( `=` [_Type_] )? `;` A _type alias_ defines a new name for an existing [type]. Type aliases are declared with the keyword `type`. Every value has a single, specific type, but