Files
tsgo/testdata/baselines/reference/compiler/contentMapperSupplementalDiagnostics.errors.txt
2026-08-19 20:30:48 +00:00

25 lines
886 B
Plaintext

/component.astro.0.ts(1,1): error TS2304: Cannot find name 'missingSupplementalGlobal'.
This location is in virtual code produced by the content mapper '[email protected]' and has no corresponding location in the original file.
/component.astro.0.ts(1,7): error TS2322: Type 'string' is not assignable to type 'number'.
==== /tsconfig.json (0 errors) ====
{
"compilerOptions": {
"target": "es2020",
"module": "esnext",
"moduleResolution": "bundler",
"strict": true
},
"contentMappers": [
{ "package": "mapper", "extensions": [".astro"] }
]
}
==== /node_modules/mapper/package.json (0 errors) ====
{
"name": "mapper",
"version": "1.0.0",
"typescript": { "contentMapper": { "exec": ["supplemental-diagnostics-mapper"] } }
}