chore: lint and format
This commit is contained in:
parent
8347e24e54
commit
2b05b34a28
3 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,4 +54,4 @@
|
|||
"patchedDependencies": {
|
||||
"react-native-click-outside@0.1.1": "patches/react-native-click-outside@0.1.1.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue