Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p committed Dec 19, 2024
1 parent f5621aa commit 88cad7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface UpdateShippingOptionDTO {
/**
* The shipping option type associated with the shipping option.
*/
type:
type?:
| Omit<CreateShippingOptionTypeDTO, "shipping_option_id">
| {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ moduleIntegrationTestRunner<IFulfillmentModuleService>({
type: "default",
})

const shippingOptionData = {
const shippingOptionData: UpdateShippingOptionDTO = {
id: "sp_jdafwfleiwuonl",
name: "test",
price_type: "flat",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/fulfillment/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {

export type Rule = {
attribute: string
operator: Lowercase<keyof typeof RuleOperator>
operator: Lowercase<keyof typeof RuleOperator> | (string & {})
value: string | string[] | null
}

Expand Down

0 comments on commit 88cad7d

Please sign in to comment.