mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
299 B
Plaintext
14 lines
299 B
Plaintext
//// [tests/cases/compiler/jsonImportMultipleTopLevelObjects.ts] ////
|
|
|
|
=== data.json ===
|
|
{"a": 1}
|
|
>"a" : Symbol("a", Decl(data.json, 0, 1))
|
|
|
|
{"b": 2}
|
|
>"b" : Symbol("b", Decl(data.json, 1, 1))
|
|
|
|
=== index.ts ===
|
|
import data from "./data.json";
|
|
>data : Symbol(data, Decl(index.ts, 0, 6))
|
|
|