Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/emitBOM.js.diff

28 lines
733 B
Diff
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
--- 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;