mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
32 lines
582 B
Diff
32 lines
582 B
Diff
--- old.declarationEmitRetainsJsdocyComments.js
|
|
+++ new.declarationEmitRetainsJsdocyComments.js
|
|
@@= skipped -77, +77 lines =@@
|
|
}
|
|
}
|
|
exports.Foo = Foo;
|
|
-/**
|
|
-* comment5
|
|
-*/
|
|
-exports.someMethod = null.someMethod;
|
|
+({
|
|
+ /**
|
|
+ * comment5
|
|
+ */
|
|
+ someMethod: exports.someMethod } = null);
|
|
|
|
|
|
//// [declarationEmitRetainsJsdocyComments.d.ts]
|
|
@@= skipped -30, +31 lines =@@
|
|
*/
|
|
bar(s: number): void;
|
|
}
|
|
-export declare let
|
|
+export declare let {
|
|
/**
|
|
* comment5
|
|
*/
|
|
-someMethod: any;
|
|
+someMethod }: any;
|
|
declare global {
|
|
interface ExtFunc {
|
|
/**
|