summaryrefslogtreecommitdiff
path: root/tests/020_json_modules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/020_json_modules.ts')
-rw-r--r--tests/020_json_modules.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/020_json_modules.ts b/tests/020_json_modules.ts
index 71c0eb8db..fdc85c440 100644
--- a/tests/020_json_modules.ts
+++ b/tests/020_json_modules.ts
@@ -1,3 +1,2 @@
-import * as config from "./subdir/config.json";
-// TODO Shouldn't need 'default'
-console.log(JSON.stringify(config["default"]));
+import config from "./subdir/config.json";
+console.log(JSON.stringify(config));