From c63d75d4d7cdcd5bc5d79c813b7da2a8899b6183 Mon Sep 17 00:00:00 2001 From: zhongsp Date: Fri, 15 Mar 2019 15:38:33 +0800 Subject: [PATCH] fix typo. PR940 --- doc/handbook/Advanced Types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/handbook/Advanced Types.md b/doc/handbook/Advanced Types.md index 774cef1..0bcd340 100644 --- a/doc/handbook/Advanced Types.md +++ b/doc/handbook/Advanced Types.md @@ -517,7 +517,7 @@ function createElement(tagName: string): Element { TypeScript还具有数字字面量类型。 ```ts -function rollDie(): 1 | 2 | 3 | 4 | 5 | 6 { +function rollDice(): 1 | 2 | 3 | 4 | 5 | 6 { // ... } ```