Skip to content

Commit

Permalink
Ignore remaining TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Feb 16, 2022
1 parent 0167076 commit b47c769
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/color-picker/input-with-slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export const InputWithSlider = ( {
max={ max }
label={ label }
hideLabelFromVision
// @ts-ignore
value={ value }
// @ts-ignore
onChange={ onChange }
prefix={
<Spacer
Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/number-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export function NumberControl(
* Handles drag to update events
*/
if ( type === inputControlActionTypes.DRAG && isDragEnabled ) {
// @ts-ignore
const [ x, y ] = payload.delta;
// @ts-ignore
const enableShift = payload.shiftKey && isShiftStepEnabled;
const modifier = enableShift ? shiftStep * baseStep : baseStep;

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/unit-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ function UnitControl(
ref={ forwardedRef }
size={ size }
suffix={ inputSuffix }
// @ts-ignore
value={ value }
step={ step }
__unstableStateReducer={ composeStateReducers(
Expand Down

0 comments on commit b47c769

Please sign in to comment.