mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
762 B
Diff
28 lines
762 B
Diff
--- old.jsDeclarationsFunctionKeywordProp(target=es2015).js
|
|
+++ new.jsDeclarationsFunctionKeywordProp(target=es2015).js
|
|
@@= skipped -26, +26 lines =@@
|
|
//// [source.d.ts]
|
|
declare function foo(): void;
|
|
declare namespace foo {
|
|
- let _null: boolean;
|
|
- export { _null as null };
|
|
+ var _a: boolean;
|
|
+ export { _a as null };
|
|
}
|
|
declare function bar(): void;
|
|
declare namespace bar {
|
|
- let async: boolean;
|
|
- let normal: boolean;
|
|
+ var async: boolean;
|
|
+ var normal: boolean;
|
|
}
|
|
declare function baz(): void;
|
|
declare namespace baz {
|
|
- let _class: boolean;
|
|
- export { _class as class };
|
|
- let normal_1: boolean;
|
|
- export { normal_1 as normal };
|
|
+ var _b: boolean;
|
|
+ export { _b as class };
|
|
+ export var normal: boolean;
|
|
}
|