3.0.0-beta.1
https://github.com/vuejs/vue-next
$ vue create sample-app
$ vue add vue-next
none
ERROR in /Users/xxxx/sample-vue3.0/src/shims-tsx.d.ts(8,36):
:36 Cannot use namespace 'Vue' as a type.
6 | interface Element extends VNode {}
7 | // tslint:disable no-empty-interface
> 8 | interface ElementClass extends Vue {}
| ^
9 | interface IntrinsicElements {
10 | [elem: string]: any;
11 | }
ERROR in /Users/xxxx/sample-vue3.0/src/shims-tsx.d.ts(10,7):
10:7 Duplicate string index signature.
8 | interface ElementClass extends Vue {}
9 | interface IntrinsicElements {
> 10 | [elem: string]: any;
| ^
11 | }
12 | }
13 | }
Delete shims-tsx.d.ts In Your src Folder
Most helpful comment
Delete
shims-tsx.d.tsIn YoursrcFolder