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/046_jsx_test.tsx | |
parent | 0b90e966c5e22b95c283a10407234cad37b8f19b (diff) |
fix(check): use "moduleDetection": "force" (#14875)
Diffstat (limited to 'cli/tests/testdata/046_jsx_test.tsx')
-rw-r--r-- | cli/tests/testdata/046_jsx_test.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cli/tests/testdata/046_jsx_test.tsx b/cli/tests/testdata/046_jsx_test.tsx index a96e90baf..5ed3ff2fa 100644 --- a/cli/tests/testdata/046_jsx_test.tsx +++ b/cli/tests/testdata/046_jsx_test.tsx @@ -1,6 +1,8 @@ -declare namespace JSX { - interface IntrinsicElements { - [elemName: string]: any; +declare global { + export namespace JSX { + interface IntrinsicElements { + [elemName: string]: any; + } } } const React = { |