Refactor DEFAULT_NUDGES type annotation
Explicitly annotates DEFAULT_NUDGES as Nudge[] for improved type safety and clarity.
This commit is contained in:
parent
d8e7af9799
commit
87da3552a4
1 changed files with 1 additions and 2 deletions
|
|
@ -6,8 +6,7 @@ import {
|
|||
|
||||
type Nudge = string;
|
||||
|
||||
const DEFAULT_NUDGES = [
|
||||
];
|
||||
const DEFAULT_NUDGES: Nudge[] = [];
|
||||
|
||||
export const useGetNudgesQuery = (
|
||||
chatId?: string | null,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue