From 46625375553412f9e177574fb266006aa343757c Mon Sep 17 00:00:00 2001 From: "Nabeel A." Date: Tue, 7 Jul 2026 19:53:34 +0500 Subject: [PATCH] fix(2814): correct misleading error message for functions without bodies --- src/compiler/diagnosticMessages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 17586e927d0ac..7f859c69ab556 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -3790,7 +3790,7 @@ "category": "Error", "code": 2813 }, - "Function with bodies can only merge with classes that are ambient.": { + "Functions can only merge with classes that are ambient.": { "category": "Error", "code": 2814 },