From f8b0f90db16db1b6fd53249336f824eb4ff15c69 Mon Sep 17 00:00:00 2001 From: Yuvraj Singh Date: Tue, 20 Aug 2024 15:41:15 +0530 Subject: [PATCH] Update index.md Spelling error at 2nd line in definition of Singleton design pattern. --- content/lessons/typescript-design-patterns/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/lessons/typescript-design-patterns/index.md b/content/lessons/typescript-design-patterns/index.md index 498836968..2a73e77cc 100644 --- a/content/lessons/typescript-design-patterns/index.md +++ b/content/lessons/typescript-design-patterns/index.md @@ -30,7 +30,7 @@ Creational patterns are related to the creation of new objects. ### Singleton -A singleton is an object that can only be instantiated once. It is useful fo implementing a global object that can be accessed from anywhere in the application. +A singleton is an object that can only be instantiated once. It is useful for implementing a global object that can be accessed from anywhere in the application. {{< file "ts" "software.ts" >}} ```typescript