Property '' does not exist on type '{ }'. TS2339 34 | tabPosition: 2 35 | }); > 36 | const {} = React.useContext(); code example
Example: TS2339: Property 'value' does not exist on type 'Component<{}, {}, any>'. react renderer unit test
//If you want to get around this in not a type safe way and only if you are sure you are getting the values, try this.
const { valueX, valueY } = location.state as any