Skip to content

Exporting types #1684

@necolas

Description

@necolas

I'm looking for input from people who use typed JavaScript with this library.

  1. If you use Flow or TypeScript, how do you type react-native-web exports?
  2. If you work across platforms, how do you deal with platform-specific differences in the APIs or components like View?
  3. Does this library need to export Flow and TypeScript types?
  4. Is there a way to generate TypeScript interfaces from Flow types so you don't need to maintain both?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions