Browse Source

feat: use ts file

lybenson 3 years ago
parent
commit
b018921efc

+ 1 - 1
index.html

@@ -12,6 +12,6 @@
   </head>
   <body>
     <div id="app"></div>
-    <script src="./src/main.js" type="module"></script>
+    <script src="./src/main.ts" type="module"></script>
   </body>
 </html>

+ 0 - 0
src/main.js → src/main.ts


+ 6 - 0
src/shims-vue.d.ts

@@ -0,0 +1,6 @@
+/* eslint-disable */
+declare module '*.vue' {
+  import type { DefineComponent } from 'vue'
+  const component: DefineComponent<{}, {}, any>
+  export default component
+}

+ 0 - 0
src/store/actionType/bannerType.js → src/store/actionType/bannerType.ts


+ 0 - 0
src/store/actionType/contentType.js → src/store/actionType/contentType.ts


+ 0 - 0
src/store/actionType/liveType.js → src/store/actionType/liveType.ts


+ 0 - 0
src/store/actionType/promoteType.js → src/store/actionType/promoteType.ts


+ 0 - 0
src/store/actionType/rankType.js → src/store/actionType/rankType.ts