37 lines
No EOL
1.1 KiB
Text
37 lines
No EOL
1.1 KiB
Text
===================================================================
|
|
JsFile: emitBOM.js
|
|
mapUrl: emitBOM.js.map
|
|
sourceRoot:
|
|
sources: emitBOM.ts
|
|
===================================================================
|
|
-------------------------------------------------------------------
|
|
emittedFile:tests/cases/compiler/emitBOM.js
|
|
sourceFile:emitBOM.ts
|
|
-------------------------------------------------------------------
|
|
>>>// JS and d.ts output should have a BOM but not the sourcemap
|
|
1 >
|
|
2 >
|
|
3 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
1 >
|
|
>// JS and d.ts output should have a BOM but not the sourcemap
|
|
>
|
|
2 >
|
|
3 >// JS and d.ts output should have a BOM but not the sourcemap
|
|
1 >Emitted(1, 1) Source(3, 1) + SourceIndex(0)
|
|
2 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
|
3 >Emitted(1, 62) Source(2, 62) + SourceIndex(0)
|
|
---
|
|
>>>var x;
|
|
1 >^^^^
|
|
2 > ^
|
|
3 > ^
|
|
4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
>var
|
|
2 > x
|
|
3 > ;
|
|
1 >Emitted(2, 5) Source(3, 5) + SourceIndex(0)
|
|
2 >Emitted(2, 6) Source(3, 6) + SourceIndex(0)
|
|
3 >Emitted(2, 7) Source(3, 7) + SourceIndex(0)
|
|
---
|
|
>>>//# sourceMappingURL=emitBOM.js.map |