mirror of
https://github.com/wangdoc/typescript-tutorial.git
synced 2025-12-24 02:43:47 +08:00
Merge pull request #29 from KiritaniAyaka/patch-1
fix: typo in function.md
This commit is contained in:
@@ -413,7 +413,7 @@ function sum(
|
||||
}
|
||||
```
|
||||
|
||||
参数结构可以结合类型别名(type 命令)一起使用,代码会看起来简洁一些。
|
||||
参数解构可以结合类型别名(type 命令)一起使用,代码会看起来简洁一些。
|
||||
|
||||
```typescript
|
||||
type ABC = { a:number; b:number; c:number };
|
||||
|
||||
Reference in New Issue
Block a user