From b2d187ee7fc2e40772bbd45273a5a13184a8ac6f Mon Sep 17 00:00:00 2001 From: Andrew Huth Date: Fri, 5 Apr 2019 07:05:08 -0700 Subject: [PATCH] Correct ref type for airbnb-prop-types --- types/airbnb-prop-types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;