Skip to content

Commit 055b15f

Browse files
committed
fix: typo
1 parent 6d7a259 commit 055b15f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ interface A {
465465
}
466466
```
467467

468-
上面示例中,`f()`方法有一个类型声明是,参数`x`是字面量类型,这个类型声明的优先级最高,会排在函数重载的最前面。
468+
上面示例中,`f()`方法有一个类型声明的参数`x`是字面量类型,这个类型声明的优先级最高,会排在函数重载的最前面。
469469

470470
一个实际的例子是 Document 对象的`createElement()`方法,它会根据参数的不同,而生成不同的 HTML 节点对象。
471471

0 commit comments

Comments
 (0)