44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
//// [tests/cases/compiler/sourceMapWithMultipleFilesWithCopyright.ts] ////
|
|
|
|
//// [a.ts]
|
|
/*--------------------------------------------------------------------------
|
|
Copyright
|
|
---------------------------------------------------------------------------*/
|
|
|
|
var x = {
|
|
a: 10,
|
|
b: 20
|
|
};
|
|
|
|
//// [b.ts]
|
|
/*--------------------------------------------------------------------------
|
|
Copyright
|
|
---------------------------------------------------------------------------*/
|
|
|
|
///<reference path="a.ts"/>
|
|
var y = x;
|
|
|
|
//// [a.js]
|
|
/*--------------------------------------------------------------------------
|
|
Copyright
|
|
---------------------------------------------------------------------------*/
|
|
var x = {
|
|
a: 10,
|
|
b: 20
|
|
};
|
|
/*--------------------------------------------------------------------------
|
|
Copyright
|
|
---------------------------------------------------------------------------*/
|
|
///<reference path="a.ts"/>
|
|
var y = x;
|
|
//# sourceMappingURL=a.js.map
|
|
|
|
//// [a.d.ts]
|
|
declare var x: {
|
|
a: number;
|
|
b: number;
|
|
};
|
|
declare var y: {
|
|
a: number;
|
|
b: number;
|
|
};
|