]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
feat: update dts (#60)
authorZHAO Jinxiang <xiaoxiangmoe@gmail.com>
Wed, 16 Feb 2022 10:39:58 +0000 (18:39 +0800)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 10:39:58 +0000 (18:39 +0800)
template/config/typescript/env.d.ts

index dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe..cceeec5bab6644a31d8d719c9a4e1f19997edaf5 100644 (file)
@@ -1,16 +1,2 @@
 /// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import Vue from 'vue'
-  export default Vue
-}
-
-declare global {
-  namespace JSX {
-    interface Element extends VNode {}
-    interface ElementClass extends Vue {}
-    interface IntrinsicElements {
-      [elem: string]: any
-    }
-  }
-}
+/// <reference types="unplugin-vue2-script-setup/shims" />