From 9775eeef5c95dd9b6ffd139b8785c2579cb5947b Mon Sep 17 00:00:00 2001 From: xcatliu Date: Wed, 18 Apr 2018 23:12:51 +0800 Subject: [PATCH] Update type-of-object-interfaces.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新超链接,使用 `%28`, `%29` 表示 `(`, `)` --- basics/type-of-object-interfaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basics/type-of-object-interfaces.md b/basics/type-of-object-interfaces.md index cbe88c16..48aa446e 100644 --- a/basics/type-of-object-interfaces.md +++ b/basics/type-of-object-interfaces.md @@ -24,7 +24,7 @@ let tom: Person = { 上面的例子中,我们定义了一个接口 `Person`,接着定义了一个变量 `tom`,它的类型是 `Person`。这样,我们就约束了 `tom` 的形状必须和接口 `Person` 一致。 -接口一般首字母大写。[有的编程语言中会建议接口的名称加上 `I` 前缀](https://msdn.microsoft.com/en-us/library/8bc1fexb(v=vs.71).aspx)。 +接口一般首字母大写。[有的编程语言中会建议接口的名称加上 `I` 前缀](https://msdn.microsoft.com/en-us/library/8bc1fexb%28v=vs.71%29.aspx)。 定义的变量比接口少了一些属性是不允许的: