-
Notifications
You must be signed in to change notification settings - Fork 115
refactor: remove some instances of implicit any #1066
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
bc1fee5
refactor: add typing for dompurify plugin
sethidden 558fb8d
refactor: remove unused parts of types/core.ts
sethidden 119ce63
refactor: do not use symbol for indexing object
sethidden 6fefe09
refactor: add explicit any for useTraverseCategoryMock
sethidden c569ffc
refactor: add lodash typing
sethidden e226c29
refactor: fix implicit any in wishlist-related files
sethidden 54276c4
refactor: fix implicit any in magento module
sethidden 228711e
refactor: fix user-related implicit any issues
sethidden 69ad107
refactor: createAddCustomerCommand context type
sethidden 2973a7f
refactor: remove context implicit any
sethidden 11e1fd5
refactor: remove implicit any from Shipping.vue
sethidden 3c79e9f
refactor: remove implicit any from LoginModal.vue
sethidden 80d69d1
refactor: remove implicit any in SearchResults.vue
sethidden d5e4ab0
refactor: remove implicit any from SearchBar.vue
sethidden ff77456
refactor: updatecustomeraddress useContext
sethidden 0cc1364
refactor: add billing form type
sethidden d8dc6f5
refactor: remove implicit any in ProductsCarousel
sethidden 04329f8
refactor: add reset arg type
sethidden cd97550
refactor: fix implicit any in Payment.vue
sethidden 96bab33
refactor: add types to Billing.vue
sethidden 3805a69
refactor: fix missing context
sethidden fafbdd5
refactor: improve checkout module entrypoint types
sethidden 8a17c86
chore: declare typeless packages as any
sethidden c9da42e
refactor: add reset void
sethidden 3f931fb
refactor: remove createProductAttributeFilterInput implicit any
sethidden f652d44
refactor: remove integarationPlugin implicit any
sethidden c480a4f
refactor: remove implicit any from CartSidebar.vue
sethidden a17dbdf
refactor: fix implicit any issues in context.ts
sethidden a92cba6
refactor: add explicit types for useUser errors
sethidden a17cde3
refactor: add missing properties to clientconfig
sethidden 7b8bedc
chore: use ts syntax instead of js logic operator
sethidden 9b44e15
refactor: remove UseContext return type duplication
sethidden 706cd60
fix: types after merge
sethidden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
packages/theme/composables/useNewsletter/commands/updateSubscriptionCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...theme/modules/catalog/product/composables/useProduct/commands/getProductDetailsCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...es/theme/modules/catalog/product/composables/useProduct/commands/getProductListCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
packages/theme/modules/checkout/composables/useMakeOrder/commands/placeOrderCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...les/checkout/composables/usePaymentProvider/commands/getAvailablePaymentMethodsCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...modules/checkout/composables/usePaymentProvider/commands/setPaymentMethodOnCartCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...ules/checkout/composables/useShippingProvider/commands/setShippingMethodsOnCartCommand.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Intentional cast with any since it's expected that you can assign anything