summaryrefslogtreecommitdiff
path: root/cli/tests/046_jsx_test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/046_jsx_test.tsx')
-rw-r--r--cli/tests/046_jsx_test.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/046_jsx_test.tsx b/cli/tests/046_jsx_test.tsx
index 4e9380eb8..a3df2aad7 100644
--- a/cli/tests/046_jsx_test.tsx
+++ b/cli/tests/046_jsx_test.tsx
@@ -1,3 +1,8 @@
+declare namespace JSX {
+ interface IntrinsicElements {
+ [elemName: string]: any;
+ }
+}
const React = {
createElement(factory: any, props: any, ...children: any[]) {
return {factory, props, children}