From a235d1f9f136eb3fd07ef793a659bc2a5667e1a1 Mon Sep 17 00:00:00 2001 From: Andres Correa Casablanca Date: Sun, 20 Feb 2022 14:25:16 +0100 Subject: [PATCH] docs: correct method names --- README.md | 4 ++-- lambda-ioc/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.