mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
431 B
Diff
17 lines
431 B
Diff
--- old.jsDeclarationsExportAssignedClassInstance3(target=es2015).js
|
|
+++ new.jsDeclarationsExportAssignedClassInstance3(target=es2015).js
|
|
@@= skipped -22, +22 lines =@@
|
|
|
|
|
|
//// [index.d.ts]
|
|
-export let member: number;
|
|
-export let additional: 20;
|
|
+declare const _exports: Foo;
|
|
+export = _exports;
|
|
+declare namespace _exports {
|
|
+ export var additional: 20;
|
|
+}
|
|
+declare class Foo {
|
|
+ static stat: number;
|
|
+ member: number;
|
|
+}
|