From 07c548af1e2b440a2744a77fedc9e9e72a7c5b5a Mon Sep 17 00:00:00 2001 From: "Julio L. Muller" Date: Mon, 2 Jun 2025 16:18:26 -0300 Subject: [PATCH] docs: fix resource import --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8c959c..4fef426 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ class Foo { By default, `@inject()` throws an exception if no registration is found. If you want to have `undefined` injected when the registration isn't found, you can pass this options `{ isOptional: true }` as the second parameter: ```typescript -import {injectable, injectAll} from "tsyringe"; +import {injectable, inject} from "tsyringe"; @injectable() class Foo {