From 02adc7b665bbeab813f2c7819c937bfbf6620274 Mon Sep 17 00:00:00 2001 From: Anton Korzunov Date: Wed, 28 Feb 2024 16:00:37 +1100 Subject: [PATCH] correct hook types --- UI/UI.d.ts | 2 +- react-focus-lock.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/UI.d.ts b/UI/UI.d.ts index 51cdc1b..77271dd 100644 --- a/UI/UI.d.ts +++ b/UI/UI.d.ts @@ -81,7 +81,7 @@ export type FocusControl = { * - can be used outside of FocusLock * @see {@link useFocusScope} for use cases inside of FocusLock */ -export function useFocusController(...shards: ReadonlyArray):FocusControl; +export function useFocusController(...shards: ReadonlyArray):FocusControl; /** * returns FocusControl over the current FocusLock diff --git a/react-focus-lock.d.ts b/react-focus-lock.d.ts index f34c77d..0e5cad2 100644 --- a/react-focus-lock.d.ts +++ b/react-focus-lock.d.ts @@ -82,7 +82,7 @@ export type FocusControl = { * - can accept HTML elements or React Refs * @see {@link useFocusScope} for use cases inside of FocusLock */ -export function useFocusController(...shards: ReadonlyArray):FocusControl; +export function useFocusController(...shards: ReadonlyArray):FocusControl; /** * returns FocusControl over the current FocusLock