Skip to content

Commit add0bba

Browse files
authored
docs(decorator): fix typo
1 parent ef2f878 commit add0bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/decorator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ C.prototype.toString = trace(C.prototype.toString);
273273
274274
上面示例中,`@trace`装饰`toString()`方法,就相当于修改了该方法。
275275
276-
方式装饰器使用 TypeScript 描述类型如下。
276+
方法装饰器使用 TypeScript 描述类型如下。
277277
278278
```typescript
279279
type ClassMethodDecorator = (value: Function, context: {

0 commit comments

Comments
 (0)