Skip to content

Commit

Permalink
fix(docs): typo (#3788)
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong authored Apr 17, 2024
1 parent 4303f89 commit bbfe0b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class B {
}
```

在 v3.10 版本之后,可以使的单例装饰器来简化原来的写法
在 v3.10 版本之后,可以使用单例装饰器来简化原来的写法

```typescript
import { Singleton } from '@midwayjs/core';
Expand Down Expand Up @@ -462,7 +462,7 @@ export class HomeController {

console.log(this.applicationContext.getInstanceScope(this.userService));
// => Singleton

// ...
}
}
Expand Down

0 comments on commit bbfe0b3

Please sign in to comment.