Skip to content

Commit d2ae999

Browse files
committed
Enable test case for declaration emit for multiple file emit scenario
1 parent 3e2de14 commit d2ae999

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,14 @@ Copyright
3131
---------------------------------------------------------------------------*/
3232
///<reference path="a.ts"/>
3333
var y = x;
34-
//# sourceMappingURL=a.js.map
34+
//# sourceMappingURL=a.js.map
35+
36+
//// [a.d.ts]
37+
declare var x: {
38+
a: number;
39+
b: number;
40+
};
41+
declare var y: {
42+
a: number;
43+
b: number;
44+
};

tests/cases/compiler/sourceMapWithMultipleFilesWithCopyright.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @out: a.js
22
// @sourcemap: true
3+
// @declaration: true
34
// @Filename: a.ts
45
/*--------------------------------------------------------------------------
56
Copyright

0 commit comments

Comments
 (0)