diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-06-15 17:26:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-15 12:26:43 -0400 |
| commit | 845d4754c6fb959d1404f5de4bba9e71667b8c89 (patch) | |
| tree | 88e0ca591f1d055d274731d84e2dfe5bdf69b7d5 /cli/tests/testdata/subdir | |
| parent | 0b90e966c5e22b95c283a10407234cad37b8f19b (diff) | |
fix(check): use "moduleDetection": "force" (#14875)
Diffstat (limited to 'cli/tests/testdata/subdir')
| -rw-r--r-- | cli/tests/testdata/subdir/polyfill.ts | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/subdir/single_module.ts | 1 | ||||
| -rw-r--r-- | cli/tests/testdata/subdir/subdir2/dynamic_import.ts | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/cli/tests/testdata/subdir/polyfill.ts b/cli/tests/testdata/subdir/polyfill.ts index e1cd923cb..7af67c4c0 100644 --- a/cli/tests/testdata/subdir/polyfill.ts +++ b/cli/tests/testdata/subdir/polyfill.ts @@ -2,8 +2,6 @@ declare global { const polyfill: () => void; } -export {}; - // deno-lint-ignore no-explicit-any (globalThis as any).polyfill = () => { console.log("polyfill"); diff --git a/cli/tests/testdata/subdir/single_module.ts b/cli/tests/testdata/subdir/single_module.ts index f41b0a4b5..940a3ff0e 100644 --- a/cli/tests/testdata/subdir/single_module.ts +++ b/cli/tests/testdata/subdir/single_module.ts @@ -1,2 +1 @@ console.log("Hello world!"); -export {}; // TODO(ry) This shouldn't be necessary. diff --git a/cli/tests/testdata/subdir/subdir2/dynamic_import.ts b/cli/tests/testdata/subdir/subdir2/dynamic_import.ts index 573887b71..59beb64c3 100644 --- a/cli/tests/testdata/subdir/subdir2/dynamic_import.ts +++ b/cli/tests/testdata/subdir/subdir2/dynamic_import.ts @@ -2,5 +2,3 @@ const { printHello } = await import("../mod2.ts"); printHello(); })(); - -export {}; |
