Santiago M. Quintero

Results 4 comments of Santiago M. Quintero

A hack, define a component as: ``` const DisabledColorPicker = ({color}) => ```

The error seems to be at the callback param. I would guess you are not defining it.

The second time I run into this issue, current use cases: 1. Test lambdas on CI/CD envs. without deploying them. 2. Lift multiple API Gateways without opening multiple terminals.

As a workaround, I defined an interface: `interface iOption { label: string; value: string; };` And then, casted the parameter: ` onChange={(option) => myMethod((option as iOption).value) } `