Files
tsgo/testdata/baselines/reference/compiler/contentMapperSynthesizedUnusedDiagnostics.contentmapper
2026-08-19 20:30:48 +00:00

16 lines
361 B
Plaintext

//// [/widget.box] (ScriptKind: ScriptKindTS, ContentMapper: [.box])
--- Original ---
const mappedUnused = 1;
export {};
--- Transformed ---
const __VERSION = "1.0.0";
const mappedUnused = 1;
export {};
=== Diagnostics ===
/widget.box:1:7 - error TS6133: 'mappedUnused' is declared but its value is never read.
1 const mappedUnused = 1;
~~~~~~~~~~~~