diff --git a/README.md b/README.md index ab4e57c..5ebe84a 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ const resolvedContainer = container.resolve('$') // If you want to indirectly resolve the container itself, it can be done only // with the methods: -// - resolveConstructor -// - resolveAsyncConstructor +// - registerConstructor +// - registerAsyncConstructor // This is because they have "privileged" information about the container's // type, while relying on `register` or `registerAsync` plus "combinators" does // not allow us to leverage that information. diff --git a/lambda-ioc/README.md b/lambda-ioc/README.md index ab4e57c..5ebe84a 100644 --- a/lambda-ioc/README.md +++ b/lambda-ioc/README.md @@ -88,8 +88,8 @@ const resolvedContainer = container.resolve('$') // If you want to indirectly resolve the container itself, it can be done only // with the methods: -// - resolveConstructor -// - resolveAsyncConstructor +// - registerConstructor +// - registerAsyncConstructor // This is because they have "privileged" information about the container's // type, while relying on `register` or `registerAsync` plus "combinators" does // not allow us to leverage that information.