mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
334 B
Diff
17 lines
334 B
Diff
--- old.declarationEmitMethodDeclaration.js
|
|
+++ new.declarationEmitMethodDeclaration.js
|
|
@@= skipped -10, +10 lines =@@
|
|
|
|
|
|
//// [a.d.ts]
|
|
-declare namespace _default {
|
|
- namespace methods {
|
|
- function foo(): void;
|
|
- }
|
|
-}
|
|
+declare const _default: {
|
|
+ methods: {
|
|
+ foo(): void;
|
|
+ };
|
|
+};
|
|
export default _default;
|