From 430350fe8873d42d463f10509b82af7e616acd91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 10 Aug 2023 15:30:09 +0200 Subject: [PATCH] Fix typo in Method Overriding in Typescript (#4306) --- .../typescript/content/108-classes/105-method-overriding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/typescript/content/108-classes/105-method-overriding.md b/src/data/roadmaps/typescript/content/108-classes/105-method-overriding.md index 4d96d62fd..6c2f503db 100644 --- a/src/data/roadmaps/typescript/content/108-classes/105-method-overriding.md +++ b/src/data/roadmaps/typescript/content/108-classes/105-method-overriding.md @@ -2,7 +2,7 @@ In TypeScript, method overriding is a mechanism where a subclass provides a new implementation for a method that is already defined in its parent class. This allows the subclass to inherit the behavior of the parent class, but change its behavior to fit its own needs. -To override a method in TypeScript, you need to use the `override` keyword, and the signature of the method in the subclass must match exactly with the signature of the method in the parent class. +To override a method in TypeScript the signature of the method in the subclass must match exactly with the signature of the method in the parent class. ```typescript class Animal {