mirror of
https://github.com/fmhy/edit.git
synced 2026-02-18 17:21:22 +11:00
20 lines
395 B
TypeScript
20 lines
395 B
TypeScript
// .d.ts file
|
|
|
|
// Enable type checking for .vue files
|
|
declare module '*.vue' {
|
|
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
|
|
}
|
|
|