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:
@@ -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[]>
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user