fix(admin): make shipping methods input optional to avoid error #307
pull-request.yml
on: pull_request
test
/
test
2m 9s
bundlewatch
1m 45s
Annotations
13 errors
bundlewatch
Argument of type 'DefineProps<LooseRequired<CheckboxGroupProps<T>>, [T] extends [boolean | undefined] ? "modelValue" : never>' is not assignable to parameter of type 'CheckboxGroupProps<CheckboxGroupModelValue>'.
|
bundlewatch
Type 'Ref<boolean>' is not assignable to type 'Booleanish | undefined'.
|
bundlewatch
Type 'Ref<boolean>' is not assignable to type 'Booleanish | undefined'.
|
bundlewatch
Argument of type 'DefineProps<LooseRequired<CheckboxInputProps<T>>, [T] extends [boolean | undefined] ? "modelValue" : never>' is not assignable to parameter of type 'PdkElementProps<unknown>'.
|
bundlewatch
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, boolean>'.
|
bundlewatch
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, ElementInstance<unknown, PdkElementProps<unknown>>>'.
|
bundlewatch
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, boolean>'.
|
bundlewatch
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, string>'.
|
bundlewatch
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, ElementInstance<unknown, PdkElementProps<unknown>>>'.
|
bundlewatch
Argument of type 'DropOffInputEmits' is not assignable to parameter of type '(name: "update:modelValue", ...args: unknown[]) => void'.
|
src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts > createRegisterComponentsPlugin > registers components with prefix:
apps/admin/src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts#L56
AssertionError: expected [ 'PdkBox', 'PdkButton', …(39) ] to deeply equal [ 'PdkBox', 'PdkButton', …(38) ]
- Expected
+ Received
Array [
"PdkBox",
"PdkButton",
"PdkCheckboxGroup",
"PdkCheckboxInput",
"PdkCodeEditor",
"PdkCol",
"PdkCurrencyInput",
"PdkDropOffInput",
"PdkDropdownButton",
"PdkFormGroup",
"PdkHeading",
"PdkIcon",
"PdkImage",
"PdkLink",
"PdkLoader",
"PdkModal",
"PdkMultiSelectInput",
"PdkNotification",
"PdkNumberInput",
"PdkRadioGroup",
"PdkRadioInput",
"PdkRow",
"PdkSelectInput",
"PdkTabNavButton",
"PdkTable",
"PdkTextArea",
"PdkTextInput",
"PdkTimeInput",
"PdkToggleInput",
"PdkTriStateInput",
+ "PdkShippingMethodsInput",
"PdkBadge",
"PdkButtonGroup",
"PdkPluginSettingsWrapper",
"PdkSettingsDivider",
"PdkTabNavButtonWrapper",
"PdkTabNavContentWrapper",
"PdkTableCol",
"PdkTableRow",
"PdkConceptBoxWrapper",
"PdkShipmentLabelWrapper",
]
❯ src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts:56:34
|
src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts > createRegisterComponentsPlugin > registers components without prefix:
apps/admin/src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts#L56
AssertionError: expected [ 'PdkBox', 'PdkButton', …(39) ] to deeply equal [ 'PdkBox', 'PdkButton', …(38) ]
- Expected
+ Received
Array [
"PdkBox",
"PdkButton",
"PdkCheckboxGroup",
"PdkCheckboxInput",
"PdkCodeEditor",
"PdkCol",
"PdkCurrencyInput",
"PdkDropOffInput",
"PdkDropdownButton",
"PdkFormGroup",
"PdkHeading",
"PdkIcon",
"PdkImage",
"PdkLink",
"PdkLoader",
"PdkModal",
"PdkMultiSelectInput",
"PdkNotification",
"PdkNumberInput",
"PdkRadioGroup",
"PdkRadioInput",
"PdkRow",
"PdkSelectInput",
"PdkTabNavButton",
"PdkTable",
"PdkTextArea",
"PdkTextInput",
"PdkTimeInput",
"PdkToggleInput",
"PdkTriStateInput",
+ "PdkShippingMethodsInput",
"PdkBadge",
"PdkButtonGroup",
"PdkPluginSettingsWrapper",
"PdkSettingsDivider",
"PdkTabNavButtonWrapper",
"PdkTabNavContentWrapper",
"PdkTableCol",
"PdkTableRow",
"PdkConceptBoxWrapper",
"PdkShipmentLabelWrapper",
]
❯ src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts:56:34
|
test / test
Process completed with exit code 1.
|