From 0d782bdedb4e31c178f93f72012bf3aa3cb8f807 Mon Sep 17 00:00:00 2001 From: Prajwal Awate Date: Sat, 30 Aug 2025 07:19:35 +0530 Subject: [PATCH] Fix: Update return type for getActionsDefaultField to Field. (#110347) --- public/app/features/actions/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/features/actions/utils.ts b/public/app/features/actions/utils.ts index 8c78f5ce6a9..54b9bdda9e6 100644 --- a/public/app/features/actions/utils.ts +++ b/public/app/features/actions/utils.ts @@ -150,8 +150,7 @@ export const buildActionRequest = (action: Action, replaceVariables: Interpolate }; /** @internal */ -// @TODO update return type -export const getActionsDefaultField = (dataLinks: DataLink[] = [], actions: Action[] = []) => { +export const getActionsDefaultField = (dataLinks: DataLink[] = [], actions: Action[] = []): Field => { return { name: 'Default field', type: FieldType.string,