File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010 createComponentNameAnnotateHooks ,
1111 Logger ,
1212} from "@sentry/bundler-plugin-core" ;
13- import { UnpluginOptions } from "unplugin" ;
13+ import { UnpluginOptions , VitePlugin } from "unplugin" ;
1414
1515function viteReleaseInjectionPlugin ( injectionCode : string ) : UnpluginOptions {
1616 return {
@@ -73,8 +73,7 @@ const sentryUnplugin = sentryUnpluginFactory({
7373 bundleSizeOptimizationsPlugin : viteBundleSizeOptimizationsPlugin ,
7474} ) ;
7575
76- // eslint-disable-next-line @typescript-eslint/no-explicit-any
77- export const sentryVitePlugin : ( options ?: Options ) => any = sentryUnplugin . vite ;
76+ export const sentryVitePlugin : ( options ?: Options ) => VitePlugin [ ] = sentryUnplugin . vite ;
7877
7978export type { Options as SentryVitePluginOptions } from "@sentry/bundler-plugin-core" ;
8079export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core" ;
You can’t perform that action at this time.
0 commit comments