mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Correct ref type for airbnb-prop-types
This commit is contained in:
Vendored
+1
-1
@@ -28,7 +28,7 @@ export interface ReactRefLike<T> {
|
||||
readonly current: T | null;
|
||||
}
|
||||
|
||||
export type ReactLegacyRefLike<T> = (instance: T | null) => void | ReactRefLike<T>;
|
||||
export type ReactLegacyRefLike<T> = ((instance: T | null) => void) | ReactRefLike<T>;
|
||||
|
||||
export interface Specifier<T = any> {
|
||||
max?: number;
|
||||
|
||||
Reference in New Issue
Block a user