diff --git a/src/index.ts b/src/index.ts index 5929933..d63f4bb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ import type { RuleSetRule } from 'webpack'; type RuleOptions = Omit; -export const defineReactCompilerLoaderOption = (options: ReactCompilerLoaderOption) => options; +export const defineReactCompilerLoaderOption = (options: Partial) => options; export function withReactCompiler(pluginOptions?: ReactCompilerLoaderOption, ruleOptions: RuleOptions = {}) { return (nextConfig: NextConfig = {}) => {