mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
35 lines
827 B
Diff
35 lines
827 B
Diff
--- old.declarationEmitDestructuringObjectLiteralPattern2.js
|
|
+++ new.declarationEmitDestructuringObjectLiteralPattern2.js
|
|
@@= skipped -32, +32 lines =@@
|
|
|
|
|
|
//// [declarationEmitDestructuringObjectLiteralPattern2.d.ts]
|
|
-declare var x11: number, y11: string, z11: boolean;
|
|
+declare var { a: x11, b: { a: y11, b: { a: z11 } } }: {
|
|
+ a: number;
|
|
+ b: {
|
|
+ a: string;
|
|
+ b: {
|
|
+ a: boolean;
|
|
+ };
|
|
+ };
|
|
+};
|
|
declare function f15(): {
|
|
a4: string;
|
|
b4: number;
|
|
c4: boolean;
|
|
};
|
|
-declare var a4: string, b4: number, c4: boolean;
|
|
+declare var { a4, b4, c4 }: {
|
|
+ a4: string;
|
|
+ b4: number;
|
|
+ c4: boolean;
|
|
+};
|
|
declare namespace m {
|
|
- var a4: string, b4: number, c4: boolean;
|
|
+ var { a4, b4, c4 }: {
|
|
+ a4: string;
|
|
+ b4: number;
|
|
+ c4: boolean;
|
|
+ };
|
|
}
|