Files
tsgo/testdata/baselines/reference/submodule/conformance/importAttributes11.symbols
524a3c53c5 Port: Allow line break before import attributes with keyword (#2730)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-02-10 22:58:08 +00:00

25 lines
552 B
Plaintext

//// [tests/cases/conformance/importAttributes/importAttributes11.ts] ////
=== a.json ===
{ "key": "value" }
>"key" : Symbol("key", Decl(a.json, 0, 1))
=== b.mts ===
declare global {
>global : Symbol(global, Decl(b.mts, 0, 0))
interface ImportAttributes {
>ImportAttributes : Symbol(ImportAttributes, Decl(lib.es5.d.ts, --, --), Decl(b.mts, 0, 16))
type: "json"
>type : Symbol(ImportAttributes.type, Decl(b.mts, 1, 32))
}
}
import a
>a : Symbol(a, Decl(b.mts, 6, 6))
from "./a.json"
with {type: "json"}