From c6b601c7b37e3bd4ab610c336db0ffdc9aa5a449 Mon Sep 17 00:00:00 2001 From: Tony133 Date: Fri, 9 Aug 2024 17:57:09 +0200 Subject: [PATCH] fix: update color for dark mode --- content/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/modules.md b/content/modules.md index e1f6ae1391..77a6d6491e 100644 --- a/content/modules.md +++ b/content/modules.md @@ -79,7 +79,7 @@ Here is how our directory structure looks now: In Nest, modules are **singletons** by default, and thus you can share the same instance of any provider between multiple modules effortlessly. -
+
Every module is automatically a **shared module**. Once created it can be reused by any module. Let's imagine that we want to share an instance of the `CatsService` between several other modules. In order to do that, we first need to **export** the `CatsService` provider by adding it to the module's `exports` array, as shown below: