Skip to content

Commit 0666054

Browse files
committed
docs(object): fixed #109
1 parent 73e9fdc commit 0666054

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/object.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,7 @@ let { x: foo, y: bar }
489489
```typescript
490490
function draw({
491491
shape: Shape,
492-
xPos: number = 100,
493-
yPos: number = 100
492+
xPos: number = 100
494493
}) {
495494
let myShape = shape; // 报错
496495
let x = xPos; // 报错

0 commit comments

Comments
 (0)