Merge pull request #68 from freezestudio/patch-8

Update Interfaces.md
This commit is contained in:
Shengping Zhong 2016-04-08 12:34:34 +08:00
commit 2c18ce73ca

View File

@ -140,7 +140,7 @@ let mySquare = createSquare({ colour: "red", width: 100 });
let mySquare = createSquare({ colour: "red", width: 100 } as SquareConfig);
```
另一个方法,可能会让人有点惊,就是将一个对象赋值给另一个变量:
另一个方法,可能会让人有点惊,就是将一个对象赋值给另一个变量:
```ts
let squareOptions = { colour: "red", width: 100 };