I get the following error when I try to import and compile:
./node_modules/react-native-paho-mqtt/src/Client.js
Module parse failed: Unexpected token (27:5)
You may need an appropriate loader to handle this file type.
| // ------------------------------------------------------------------------
|
| type ConstructorOptions = {
| uri: string,
| clientId: string,
What am I doing wrong?