Skip to content

Update use-properties-selector.tsx (#50) #83

Update use-properties-selector.tsx (#50)

Update use-properties-selector.tsx (#50) #83

Triggered via push November 17, 2023 09:25
Status Failure
Total duration 1m 29s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 warnings
build (15.x): packages/react-property-selectors/src/properties-selector/use-properties-selector.tsx#L235
Property 'unitLables' does not exist on type 'Required<UsePropertiesSelectorOptions<TPropertyDef, TPropertyValueDef>>'.
build (15.x): packages/react-property-selectors/src/__stories__/properties-selector/example-1.stories.tsx#L100
Type '{ onPropertyFormatChanged: (propertyName: string, selectedFormat: SelectableFormat) => void; onPropertyFormatCleared: (propertyName: string) => void; properties: readonly MyPropertyDef[]; ... 7 more ...; unitLables: UnitLabels; }' is not assignable to type 'UsePropertiesSelectorOptions<MyPropertyDef, MyPropertyValueDef>'.
build (15.x): packages/react-property-selectors/src/__stories__/properties-selector/example-2.stories.tsx#L131
Type '{ properties: readonly PropertyDef[]; selectedProperties: PropertyValueSet; onChange: (properties: PropertyValueSet, _changedProperties: readonly string[]) => void; ... 6 more ...; lockSingleValidValue: boolean; }' is not assignable to type 'UsePropertiesSelectorOptions<PropertyDef, PropertyValueDef>'.
build (15.x): packages/react-property-selectors/src/__tests__/properties-selector/discrete-select-test-component.tsx#L133
Type '{ properties: readonly PropertyDef[]; selectedProperties: PropertyValueSet; onChange: (properties: PropertyValueSet, _changedProperties: readonly string[]) => void; ... 6 more ...; lockSingleValidValue: boolean | undefined; }' is not assignable to type 'UsePropertiesSelectorOptions<PropertyDef, PropertyValueDef>'.
build (15.x)
Process completed with exit code 2.
build (12.x): packages/react-property-selectors/src/properties-selector/use-properties-selector.tsx#L235
Property 'unitLables' does not exist on type 'Required<UsePropertiesSelectorOptions<TPropertyDef, TPropertyValueDef>>'.
build (12.x): packages/react-property-selectors/src/__stories__/properties-selector/example-1.stories.tsx#L100
Type '{ onPropertyFormatChanged: (propertyName: string, selectedFormat: SelectableFormat) => void; onPropertyFormatCleared: (propertyName: string) => void; properties: readonly MyPropertyDef[]; ... 7 more ...; unitLables: UnitLabels; }' is not assignable to type 'UsePropertiesSelectorOptions<MyPropertyDef, MyPropertyValueDef>'.
build (12.x): packages/react-property-selectors/src/__stories__/properties-selector/example-2.stories.tsx#L131
Type '{ properties: readonly PropertyDef[]; selectedProperties: PropertyValueSet; onChange: (properties: PropertyValueSet, _changedProperties: readonly string[]) => void; ... 6 more ...; lockSingleValidValue: boolean; }' is not assignable to type 'UsePropertiesSelectorOptions<PropertyDef, PropertyValueDef>'.
build (12.x): packages/react-property-selectors/src/__tests__/properties-selector/discrete-select-test-component.tsx#L133
Type '{ properties: readonly PropertyDef[]; selectedProperties: PropertyValueSet; onChange: (properties: PropertyValueSet, _changedProperties: readonly string[]) => void; ... 6 more ...; lockSingleValidValue: boolean | undefined; }' is not assignable to type 'UsePropertiesSelectorOptions<PropertyDef, PropertyValueDef>'.
build (12.x)
Process completed with exit code 2.
build (14.x): packages/react-property-selectors/src/properties-selector/use-properties-selector.tsx#L235
Property 'unitLables' does not exist on type 'Required<UsePropertiesSelectorOptions<TPropertyDef, TPropertyValueDef>>'.
build (14.x): packages/react-property-selectors/src/__stories__/properties-selector/example-1.stories.tsx#L100
Type '{ onPropertyFormatChanged: (propertyName: string, selectedFormat: SelectableFormat) => void; onPropertyFormatCleared: (propertyName: string) => void; properties: readonly MyPropertyDef[]; ... 7 more ...; unitLables: UnitLabels; }' is not assignable to type 'UsePropertiesSelectorOptions<MyPropertyDef, MyPropertyValueDef>'.
build (14.x): packages/react-property-selectors/src/__stories__/properties-selector/example-2.stories.tsx#L131
Type '{ properties: readonly PropertyDef[]; selectedProperties: PropertyValueSet; onChange: (properties: PropertyValueSet, _changedProperties: readonly string[]) => void; ... 6 more ...; lockSingleValidValue: boolean; }' is not assignable to type 'UsePropertiesSelectorOptions<PropertyDef, PropertyValueDef>'.
build (14.x): packages/react-property-selectors/src/__tests__/properties-selector/discrete-select-test-component.tsx#L133
Type '{ properties: readonly PropertyDef[]; selectedProperties: PropertyValueSet; onChange: (properties: PropertyValueSet, _changedProperties: readonly string[]) => void; ... 6 more ...; lockSingleValidValue: boolean | undefined; }' is not assignable to type 'UsePropertiesSelectorOptions<PropertyDef, PropertyValueDef>'.
build (14.x)
Process completed with exit code 2.
build (15.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (12.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (14.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/