mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
733 B
Diff
28 lines
733 B
Diff
--- old.emitBOM.js
|
||
+++ new.emitBOM.js
|
||
@@= skipped -3, +3 lines =@@
|
||
// JS and d.ts output should have a BOM but not the sourcemap
|
||
var x;
|
||
|
||
-emitBOM.js(1,2): error TS1127: Invalid character.
|
||
-emitBOM.js(1,3): error TS1127: Invalid character.
|
||
-
|
||
-
|
||
-==== emitBOM.js (2 errors) ====
|
||
- "use strict";
|
||
- ~
|
||
-!!! error TS1127: Invalid character.
|
||
- ~
|
||
-!!! error TS1127: Invalid character.
|
||
- // JS and d.ts output should have a BOM but not the sourcemap
|
||
- var x;
|
||
- //# sourceMappingURL=emitBOM.js.map
|
||
+//// [emitBOM.js]
|
||
+"use strict";
|
||
+// JS and d.ts output should have a BOM but not the sourcemap
|
||
+var x;
|
||
+//# sourceMappingURL=emitBOM.js.map
|
||
|
||
//// [emitBOM.d.ts]
|
||
-declare var x: any;
|
||
+declare var x: any;
|