File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
createComponentNameAnnotateHooks ,
11
11
Logger ,
12
12
} from "@sentry/bundler-plugin-core" ;
13
- import { UnpluginOptions } from "unplugin" ;
13
+ import { UnpluginOptions , VitePlugin } from "unplugin" ;
14
14
15
15
function viteReleaseInjectionPlugin ( injectionCode : string ) : UnpluginOptions {
16
16
return {
@@ -73,8 +73,7 @@ const sentryUnplugin = sentryUnpluginFactory({
73
73
bundleSizeOptimizationsPlugin : viteBundleSizeOptimizationsPlugin ,
74
74
} ) ;
75
75
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 ;
78
77
79
78
export type { Options as SentryVitePluginOptions } from "@sentry/bundler-plugin-core" ;
80
79
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core" ;
You can’t perform that action at this time.
0 commit comments