revenge-bundle-next/lib/plugins/src/apis/react.ts

15 lines
484 B
TypeScript
Raw Normal View History

import * as PluginApiReact_ from '@revenge-mod/react'
2025-07-12 21:05:27 +07:00
import * as PluginApiReactJsxRuntime from '@revenge-mod/react/jsx-runtime'
import * as PluginApiReactNative from '@revenge-mod/react/native'
export type PluginApiReact = typeof PluginApiReact_ & {
2025-07-12 21:05:27 +07:00
jsxRuntime: typeof PluginApiReactJsxRuntime
native: typeof PluginApiReactNative
2025-05-09 21:53:48 +07:00
}
export const react: PluginApiReact = {
...PluginApiReact_,
2025-07-12 21:05:27 +07:00
jsxRuntime: PluginApiReactJsxRuntime,
native: PluginApiReactNative,
2025-05-09 21:53:48 +07:00
}