Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9775eee

Browse files
authored
Update type-of-object-interfaces.md
更新超链接,使用 `%28`, `%29` 表示 `(`, `)`
1 parent badae95 commit 9775eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basics/type-of-object-interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let tom: Person = {
2424

2525
上面的例子中,我们定义了一个接口 `Person`,接着定义了一个变量 `tom`,它的类型是 `Person`。这样,我们就约束了 `tom` 的形状必须和接口 `Person` 一致。
2626

27-
接口一般首字母大写。[有的编程语言中会建议接口的名称加上 `I` 前缀](https://msdn.microsoft.com/en-us/library/8bc1fexb(v=vs.71).aspx)
27+
接口一般首字母大写。[有的编程语言中会建议接口的名称加上 `I` 前缀](https://msdn.microsoft.com/en-us/library/8bc1fexb%28v=vs.71%29.aspx)
2828

2929
定义的变量比接口少了一些属性是不允许的:
3030

0 commit comments

Comments
 (0)