chore: comments

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-12-10 12:34:30 +01:00
parent 3562d2b111
commit 71ff6bd7dd
2 changed files with 3 additions and 2 deletions
@@ -27,6 +27,7 @@ import {
* @public
*/
export const useCustomFieldExtensions = <
// todo(blam): this shouldn't be here, should remove this, but this is a breaking change to remove the generic.
TComponentDataType = FieldExtensionOptions,
>(
outlet: React.ReactNode,
@@ -62,5 +63,5 @@ export const useCustomFieldExtensions = <
}),
);
return [...blueprintsToLegacy, ...outletFields];
return [...blueprintsToLegacy, ...outletFields] as TComponentDataType[];
};