-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove location api #1569
Remove location api #1569
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type checks are complaining, but it's only an unused import
location: StatefulRemoteSubscribable<{ | ||
pathname: string; | ||
search: string; | ||
}>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also here? we should be able to remove the omit
export interface Docs_FullPageApi extends Omit<FullPageApi, 'location'> {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm yes, Id also have to update shopify.dev 😬 alongside this since that references the types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be OK, we are using Docs_FullPageApi
instead of FullPageApi
if I remember correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually no wouldnt need to do that since we omit location
Background
Fixes https://github.com/Shopify/core-issues/issues/62603
Solution
Checklist