push-based / user-flow

📦 Combine Chrome tooling like Lighthouse userflows and DevTools reconder scripts in your CI
MIT License
118 stars 3 forks source link

Strict type for `flow` property in `UserFlowContext` #230

Closed edbzn closed 2 weeks ago

edbzn commented 1 year ago

Strictly type flow property.

const interactions: UserFlowInteractionsFn = async (
  ctx: UserFlowContext
): Promise<any> => {
  const { flow } = ctx; // flow is type of any
  // ...
 }
ChristopherPHolder commented 2 weeks ago

This is now properly typed :)

image