mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* added react-fade-in type definitions * added version in * added type definitions for react-hook-mousetrap * resolved prefer-declare-function error
10 lines
393 B
TypeScript
10 lines
393 B
TypeScript
// Type definitions for react-hook-mousetrap 2.0
|
|
// Project: https://github.com/olup/react-hook-mousetrap
|
|
// Definitions by: Barry Michael Doyle <https://github.com/barrymichaeldoyle>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.1
|
|
|
|
declare function useMousetrap(keys: string | string[], callback: () => void): void;
|
|
|
|
export default useMousetrap;
|