mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
781 B
Diff
36 lines
781 B
Diff
--- old.declarationEmitDestructuringObjectLiteralPattern1.js
|
|
+++ new.declarationEmitDestructuringObjectLiteralPattern1.js
|
|
@@= skipped -20, +20 lines =@@
|
|
|
|
|
|
//// [declarationEmitDestructuringObjectLiteralPattern1.d.ts]
|
|
-declare var x4: number;
|
|
-declare var y5: string;
|
|
-declare var x6: number, y6: string;
|
|
-declare var a1: number;
|
|
-declare var b1: string;
|
|
-declare var a2: number, b2: string;
|
|
+declare var { x4 }: {
|
|
+ x4: number;
|
|
+ y4: string;
|
|
+};
|
|
+declare var { y5 }: {
|
|
+ x5: number;
|
|
+ y5: string;
|
|
+};
|
|
+declare var { x6, y6 }: {
|
|
+ x6: number;
|
|
+ y6: string;
|
|
+};
|
|
+declare var { x7: a1 }: {
|
|
+ x7: number;
|
|
+ y7: string;
|
|
+};
|
|
+declare var { y8: b1 }: {
|
|
+ x8: number;
|
|
+ y8: string;
|
|
+};
|
|
+declare var { x9: a2, y9: b2 }: {
|
|
+ x9: number;
|
|
+ y9: string;
|
|
+};
|