diff --git a/types/airbnb-prop-types/index.d.ts b/types/airbnb-prop-types/index.d.ts index ec828bb242..065e42881d 100644 --- a/types/airbnb-prop-types/index.d.ts +++ b/types/airbnb-prop-types/index.d.ts @@ -28,7 +28,7 @@ export interface ReactRefLike { readonly current: T | null; } -export type ReactLegacyRefLike = (instance: T | null) => void | ReactRefLike; +export type ReactLegacyRefLike = ((instance: T | null) => void) | ReactRefLike; export interface Specifier { max?: number;