From 98e585a284f6b8bb568cec52ca3599612b663ef3 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 16 Feb 2020 21:11:44 +1100 Subject: Fix issue with detecting AMD like imports (#4009) --- cli/tests/js_import_detect.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cli/tests/js_import_detect.ts (limited to 'cli/tests/js_import_detect.ts') diff --git a/cli/tests/js_import_detect.ts b/cli/tests/js_import_detect.ts new file mode 100644 index 000000000..7b90dfe63 --- /dev/null +++ b/cli/tests/js_import_detect.ts @@ -0,0 +1,3 @@ +function define(_foo: string[]): void {} +define(["long"]); +console.log("ok"); -- cgit v1.2.3