mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
add ts version
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
// Project: https://github.com/bdeloeste/react-click-outside-hook#readme
|
||||
// Definitions by: Bryan Deloeste <https://github.com/bdeloeste>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// TypeScript Version: 2.8
|
||||
import { MutableRefObject } from "react";
|
||||
|
||||
export function useClickOutside<T>(): [MutableRefObject<T>, boolean];
|
||||
|
||||
Reference in New Issue
Block a user