Skip to content

Commit

Permalink
fix: include/exclude options for vue-jsx .d.ts (vitejs#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 and ygj6 committed Jun 1, 2021
1 parent 6bc6362 commit 6085eeb
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 6085eeb

Please sign in to comment.