chore: lint and format

This commit is contained in:
PalmDevs 2025-07-11 01:15:50 +07:00
parent 8347e24e54
commit 2b05b34a28
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA
3 changed files with 5 additions and 3 deletions

View file

@ -12,6 +12,7 @@ export interface PluginApiExtensionsOptions {}
* Available in the `preInit` phase.
*/
export interface UnscopedPreInitPluginApi<
// biome-ignore lint/correctness/noUnusedVariables: This is used for extensions
O extends PluginApiExtensionsOptions = PluginApiExtensionsOptions,
> {
modules: PluginApiModules
@ -49,6 +50,7 @@ export type PluginCleanupApi = (...fns: PluginCleanup[]) => void
* Available in the `preInit` phase.
*/
export interface PreInitPluginApi<
// biome-ignore lint/correctness/noUnusedVariables: This is used for extensions
O extends PluginApiExtensionsOptions = PluginApiExtensionsOptions,
> {
unscoped: UnscopedPreInitPluginApi

View file

@ -22,10 +22,10 @@ export function useReRender() {
const ReactFiberWalkable = new Set(['props', 'children', 'child', 'sibling'])
export function findInReactFiber<F extends SearchFilter>(
tree: Extract<ReactNode, object>,
fiber: Extract<ReactNode, object>,
filter: F,
) {
return findInTree<F>(tree, filter, {
return findInTree<F>(fiber, filter, {
walkable: ReactFiberWalkable,
})
}

View file

@ -54,4 +54,4 @@
"patchedDependencies": {
"react-native-click-outside@0.1.1": "patches/react-native-click-outside@0.1.1.patch"
}
}
}