From 2422e526257d971ba382bb9195e0ee527b918672 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 31 Oct 2018 14:50:40 +1100 Subject: Add ability to load JSON as modules (#1065) --- tests/020_json_modules.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/020_json_modules.ts (limited to 'tests/020_json_modules.ts') diff --git a/tests/020_json_modules.ts b/tests/020_json_modules.ts new file mode 100644 index 000000000..89963751c --- /dev/null +++ b/tests/020_json_modules.ts @@ -0,0 +1,3 @@ +import * as config from "./subdir/config.json"; + +console.log(JSON.stringify(config)); -- cgit v1.2.3