Hi,
Spinning up your demo app, firstly I get this:
/src/App.tsx
TypeScript error in /Users/andyc/dev/openfin/openfin-react-hooks/demo/src/App.tsx(76,27):
Expected 2 type arguments, but got 1. TS2558
74 | };
75 |
> 76 | export default withRouter<RouteComponentProps>(App);
fixed with: export default withRouter(App);
Now, I'm blocked by:
/src/pages/bounds/Bounds.tsx(44,11):
Type 'Bounds' is not an array type. TS2461
42 |
43 | const Bounds: React.FC = () => {
> 44 | const [bounds, setBounds] = useBounds();
any ideas?
typescript version:
yarn list typescript
yarn list v1.7.0
warning Filtering by arguments is deprecated. Please use the pattern option instead.
└─ typescript@3.4.5