Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ikenox committed Oct 15, 2023
1 parent 00b72af commit 5c2deee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function requestHandler(request: Request) {
logger.log(config.greetingWord); // => 'Hello'
logger.log(talkingService.talkTo('Bob')); // => 'Alice said: Hello, Bob.'

// Anothor usage is passing the container itself to a downstream method.
// Another usage is passing the container itself to a downstream method.
// This pattern is useful e.g. when the middreware method can't know which dependencies will be used in the downstream.
logger.log(doGreeting('Carol', requestScopedContainer)); // => 'Alice said: Hello, Carol.'
}
Expand Down
2 changes: 1 addition & 1 deletion src/example.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function requestHandler(request: Request) {
logger.log(config.greetingWord); // => 'Hello'
logger.log(talkingService.talkTo('Bob')); // => 'Alice said: Hello, Bob.'

// Anothor usage is passing the container itself to a downstream method.
// Another usage is passing the container itself to a downstream method.
// This pattern is useful e.g. when the middreware method can't know which dependencies will be used in the downstream.
logger.log(doGreeting('Carol', requestScopedContainer)); // => 'Alice said: Hello, Carol.'
}
Expand Down

0 comments on commit 5c2deee

Please sign in to comment.