Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/jsDeclarationsDocCommentsOnConsts(target=es2015).js.diff

21 lines
461 B
Diff

--- old.jsDeclarationsDocCommentsOnConsts(target=es2015).js
+++ new.jsDeclarationsDocCommentsOnConsts(target=es2015).js
@@= skipped -34, +34 lines =@@
//// [index1.d.ts]
+declare const _exports: {
+ x: typeof x;
+ b: typeof b;
+};
+export = _exports;
/**
* const doc comment
*/
-export function x(a: any): string;
+declare const x: (a: any) => string;
/**
* function doc comment
*/
-export function b(): number;
+declare function b(): number;