-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
I recently stumbled upon the following error when running tsc in my project:
node_modules/@segment/analytics-react-native/build/esm/analytics.d.ts:89:26 - error TS1039: Initializers are not allowed in ambient contexts.
89 readonly ready = false;
~~~~~
node_modules/@segment/analytics-react-native/build/esm/bridge.d.ts:2:17 - error TS2503: Cannot find namespace 'NativeModules'.
2 import bridge = NativeModules.RNAnalytics;
~~~~~~~~~~~~~
node_modules/@segment/analytics-react-native/build/esm/bridge.d.ts:4:31 - error TS2503: Cannot find namespace 'NativeModules'.
4 export declare type JsonMap = NativeModules.RNAnalytics.JsonMap;This doesn't cause any errors in the app as far as I can see.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working