Skip to content

Commit

Permalink
fix: oops types
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Jan 5, 2025
1 parent 2db1781 commit 30f7368
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/frameworks/react-native-web-vite/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ import type { BabelPluginOptions } from 'vite-plugin-babel';
export type FrameworkOptions = FrameworkOptionsBase & {
pluginReactOptions?: Omit<ReactOptions, 'babel'> & { babel?: BabelOptions };
pluginBabelOptions?: BabelPluginOptions & {
jsxRuntime?: 'automatic' | 'classic';
jsxImportSource?: string;
presetReact?: {
[key: string]: any;
runtime?: 'automatic' | 'classic';
importSource?: string;
};
};
};

Expand Down

0 comments on commit 30f7368

Please sign in to comment.