From 7d08db2191526524bf9a7a45b97952c533a6aa74 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Mon, 14 Jan 2019 15:18:42 +1000 Subject: Fix JSON Modules (#1514) --- tests/020_json_modules.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') 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)); -- cgit v1.2.3