diff options
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 = { |