mirror of
https://github.com/fmhy/edit.git
synced 2026-02-18 17:21:22 +11:00
improve
This commit is contained in:
parent
b787735d85
commit
221b0d0df8
1 changed files with 18 additions and 3 deletions
21
.vitepress/vue-shim.d.ts
vendored
21
.vitepress/vue-shim.d.ts
vendored
|
|
@ -1,5 +1,20 @@
|
|||
/* eslint-disable ts/consistent-type-imports */
|
||||
// .d.ts file
|
||||
|
||||
// Enable type checking for .vue files
|
||||
declare module '*.vue' {
|
||||
const component: import('vue').Component
|
||||
export default component
|
||||
import Vue from 'vue'
|
||||
export default Vue
|
||||
}
|
||||
|
||||
// Enable type checking for .scss files
|
||||
declare module '*.scss' {
|
||||
const styles: { [className: string]: string }
|
||||
export = styles
|
||||
}
|
||||
|
||||
// Enable type checking for .css files
|
||||
declare module '*.css' {
|
||||
const styles: { [className: string]: string }
|
||||
export = styles
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue