Skip to content

Commit 082baec

Browse files
committed
docs(function): fix typo
1 parent 0ea2581 commit 082baec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function f(x:number) {
163163
f.version = '1.0';
164164
```
165165

166-
上面示例中,函数`f()`本身还有一个属性`foo`。这时,`f`完全就是一个对象,类型就要使用对象的写法。
166+
上面示例中,函数`f()`本身还有一个属性`version`。这时,`f`完全就是一个对象,类型就要使用对象的写法。
167167

168168
```typescript
169169
let foo: {

0 commit comments

Comments
 (0)