fix: eslint .tsx file failed (#8358)

This commit is contained in:
zoy-l
2021-03-16 09:46:50 +08:00
committed by GitHub
parent d9ed5b9fb0
commit 2c43e68aff
9 changed files with 122 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
import { defineComponent, ref } from 'vue';
import App from './app';
const h2 = 1;
export default defineComponent({
name: 'Index',
setup() {
const count = ref(0);
count++;
count + 1;
1 + count;
return () => (
<>
<h1>About</h1>
<App />
</>
);
},
});