diff --git a/packages/plugin-vue-jsx/index.d.ts b/packages/plugin-vue-jsx/index.d.ts index 4948b955..22aad9b5 100644 --- a/packages/plugin-vue-jsx/index.d.ts +++ b/packages/plugin-vue-jsx/index.d.ts @@ -1,6 +1,14 @@ import { Plugin } from 'vite' import { VueJSXPluginOptions } from '@vue/babel-plugin-jsx' +import { FilterPattern } from '@rollup/pluginutils' -declare function createPlugin(options?: VueJSXPluginOptions): Plugin +declare interface FilterOptions { + include?: FilterPattern + exclude?: FilterPattern +} + +declare function createPlugin( + options?: VueJSXPluginOptions & FilterOptions +): Plugin export default createPlugin