diff --git a/src/plugin.ts b/src/plugin.ts index 40d0010..dba5577 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -157,6 +157,9 @@ export function dtsPlugin(options: PluginOptions = {}): Plugin { outDir: '.', // #27 declarationDir option will make no declaration file generated declarationDir: null, + // compile vue setup script will generate expose parameter for setup function + // although user never use it which will get an unexpected unused error + noUnusedParameters: false, declaration: true, noEmit: false, emitDeclarationOnly: true