Version
v2.0.2
Which operating systems have you used?
Environment that reproduces the issue
Is it reproducible in the example application?
Not tested
RTMP Server
Reproduction steps
- Install @api.video/react-native-livestream in a TypeScript project
- Import any type from the package
- Observe TypeScript error about missing declaration file
Expected result
TypeScript should find and use the provided type definitions.
Actual result
TypeScript reports:
Could not find a declaration file for module '@api.video/react-native-livestream'
Additional context
Incorrect "types" field in @api.video/react-native-livestream package.json prevents TypeScript from finding type definitions.
Relevant logs output
Version
v2.0.2
Which operating systems have you used?
Environment that reproduces the issue
Is it reproducible in the example application?
Not tested
RTMP Server
Reproduction steps
Expected result
TypeScript should find and use the provided type definitions.
Actual result
TypeScript reports:
Could not find a declaration file for module '@api.video/react-native-livestream'
Additional context
Incorrect "types" field in @api.video/react-native-livestream package.json prevents TypeScript from finding type definitions.
Relevant logs output