Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Commit 90d6627

Browse files
authored
Merge pull request #13 from Coder-Spirit/fix-docs
docs: correct method names
2 parents 47c892d + a235d1f commit 90d6627

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ const resolvedContainer = container.resolve('$')
8888

8989
// If you want to indirectly resolve the container itself, it can be done only
9090
// with the methods:
91-
// - resolveConstructor
92-
// - resolveAsyncConstructor
91+
// - registerConstructor
92+
// - registerAsyncConstructor
9393
// This is because they have "privileged" information about the container's
9494
// type, while relying on `register` or `registerAsync` plus "combinators" does
9595
// not allow us to leverage that information.

lambda-ioc/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ const resolvedContainer = container.resolve('$')
8888

8989
// If you want to indirectly resolve the container itself, it can be done only
9090
// with the methods:
91-
// - resolveConstructor
92-
// - resolveAsyncConstructor
91+
// - registerConstructor
92+
// - registerAsyncConstructor
9393
// This is because they have "privileged" information about the container's
9494
// type, while relying on `register` or `registerAsync` plus "combinators" does
9595
// not allow us to leverage that information.

0 commit comments

Comments
 (0)