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 { // ... } ```