From bc4cdcc9f3421e7c0cc053f7ed5a527b4c2cf524 Mon Sep 17 00:00:00 2001 From: Waua Date: Sun, 19 Jan 2025 22:31:22 +0800 Subject: [PATCH] Fix module-class.d.ts incorrect export as namespace syntax --- .../copy/en/declaration-files/templates/module-class.d.ts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation/copy/en/declaration-files/templates/module-class.d.ts.md b/packages/documentation/copy/en/declaration-files/templates/module-class.d.ts.md index 4825b59470ec..486a5eeb8b98 100644 --- a/packages/documentation/copy/en/declaration-files/templates/module-class.d.ts.md +++ b/packages/documentation/copy/en/declaration-files/templates/module-class.d.ts.md @@ -50,7 +50,7 @@ To handle both importing via UMD and modules: *~ loaded outside a module loader environment, declare that global here. *~ Otherwise, delete this declaration. */ -export as namespace "super-greeter"; +export as namespace myClassLib; /*~ This declaration specifies that the class constructor function *~ is the exported object from the file