Skip to content

Incorrect types reference #112

@Ksm125

Description

@Ksm125

Version

v2.0.2

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

  • React Native
  • TypeScript

Is it reproducible in the example application?

Not tested

RTMP Server

Reproduction steps

  1. Install @api.video/react-native-livestream in a TypeScript project
  2. Import any type from the package
  3. 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'

Image

Additional context

Incorrect "types" field in @api.video/react-native-livestream package.json prevents TypeScript from finding type definitions.

Relevant logs output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions