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

Commit a235d1f

Browse files
committed
docs: correct method names
1 parent 47c892d commit a235d1f

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)