You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
730 B
29 lines
730 B
declare module 'vite-svg-loader' {
|
|
import { Plugin } from 'vite'
|
|
import { Config } from 'svgo'
|
|
function svgLoader(options?: { svgoConfig?: Config, svgo?: boolean, defaultImport?: 'url' | 'raw' | 'component' }): Plugin
|
|
export default svgLoader
|
|
}
|
|
|
|
declare module '*.svg?component' {
|
|
import { FunctionalComponent, SVGAttributes } from 'vue'
|
|
const src: FunctionalComponent<SVGAttributes>
|
|
export default src
|
|
}
|
|
|
|
declare module '*.svg?url' {
|
|
const src: string
|
|
export default src
|
|
}
|
|
|
|
declare module '*.svg?raw' {
|
|
const src: string
|
|
export default src
|
|
}
|
|
|
|
declare module '*.svg?skipsvgo' {
|
|
import { FunctionalComponent, SVGAttributes } from 'vue'
|
|
const src: FunctionalComponent<SVGAttributes>
|
|
export default src
|
|
}
|