fix(core-flows): fix type of getTranslatedLineItemsStep (#14338)

Fix the return type of the `getTranslatedLineItemsStep`, otherwise our reference generator can't pick up the step's typing correctly
This commit is contained in:
Shahed Nasser
2025-12-17 17:56:38 +02:00
committed by GitHub
parent 07bb931254
commit c0ec54fc15
2 changed files with 8 additions and 1 deletions

View File

@@ -43,4 +43,6 @@ const step = createStep(
*/
export const getTranslatedLineItemsStep = <T>(
data: GetTranslatedLineItemsStepInput<T>
): ReturnType<StepFunction<any, T[]>> => step(data)
): ReturnType<StepFunction<any, T[]>> => step(data) as unknown as ReturnType<
StepFunction<any, T[]>
>