diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-15 17:53:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 17:53:05 +0200 |
commit | b1893e65f20cf92585f59415eb23e709e32149b6 (patch) | |
tree | 857cc351c344b085b1ae430fb11b099cf4acd2e4 /cli/tests/jsx_import_from_ts.App.jsx | |
parent | 0ffc99a61ddfa958a436beef0d003ecead630d0f (diff) |
fix(compiler): JSX compilation and provide better error message (#6300)
Diffstat (limited to 'cli/tests/jsx_import_from_ts.App.jsx')
-rw-r--r-- | cli/tests/jsx_import_from_ts.App.jsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/jsx_import_from_ts.App.jsx b/cli/tests/jsx_import_from_ts.App.jsx new file mode 100644 index 000000000..6ea58436b --- /dev/null +++ b/cli/tests/jsx_import_from_ts.App.jsx @@ -0,0 +1,11 @@ +const React = { + createElement() {} +} + +export default function app() { + return ( + <div> + <h2>asdf</h2> + </div> + ); +}
\ No newline at end of file |