Skip to content

Commit

Permalink
fix: include/exclude options for vue-jsx .d.ts (#3573)
Browse files Browse the repository at this point in the history
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
  • Loading branch information
3 people authored May 30, 2021
1 parent 812e781 commit f8c045a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/plugin-vue-jsx/index.d.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f8c045a

Please sign in to comment.