Skip to content

Conversation

@kieran-osgood-shopify
Copy link
Contributor

What changes are you making?

Add's respondWith types


PR Checklist

Important

Releasing a new version of the kit?


Tip

See the Contributing documentation for instructions on how to publish a new version of the library.

@kieran-osgood-shopify kieran-osgood-shopify requested a review from a team as a code owner January 13, 2026 16:16
@github-actions
Copy link

Coverage Report

Lines Statements Branches Functions
Coverage: 89%
89.86% (257/286) 86.23% (119/138) 93.67% (74/79)

Comment on lines +59 to +62
async (
eventId: string,
response: CheckoutEventResponsePayload,
): Promise<boolean> => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this function need to be async? The contents look synchronous to me, unless the UIManager calls are async but we're not awaiting them

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - no longer needs async (previously did)
I'm used to eslint catching that I'm setting up another PR with typescript-eslint so I can add require-await to avoid this mistake in future

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants