diff --git a/docs/object.md b/docs/object.md index 3eb9bcb..3141870 100644 --- a/docs/object.md +++ b/docs/object.md @@ -489,8 +489,7 @@ let { x: foo, y: bar } ```typescript function draw({ shape: Shape, - xPos: number = 100, - yPos: number = 100 + xPos: number = 100 }) { let myShape = shape; // 报错 let x = xPos; // 报错