Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add TS support to react-native #2702

Closed
wants to merge 4 commits into from

Conversation

fabioh8010
Copy link
Contributor

TODO

Copy link

codesandbox-ci bot commented Jul 24, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3ff7d9f:

Sandbox Source
react-native-web-examples Configuration

package-lock.json Outdated Show resolved Hide resolved
packages/react-native-web/package.json Outdated Show resolved Hide resolved
@blazejkustra
Copy link

Awesome work @fabioh8010! Let's update the description to address why the PR is needed in the first place, and post it here and here to gather some 👀

@necolas
Copy link
Owner

necolas commented Jul 26, 2024

I'm not going to merge and maintain a separate set of TS types. Sorry

@blazejkustra
Copy link

blazejkustra commented Aug 7, 2024

I'm not going to merge and maintain a separate set of TS types. Sorry

That is fine, thanks for letting us know 😄

@blazejkustra
Copy link

blazejkustra commented Aug 7, 2024

This PR can be closed now, as we just added TS definitions for RNW and extended RN types in DefinietlyTyped repo.

Installation

Simply install the types with npm run install --save-dev @types/react-native-web and supply react-native-web as a member of the types compiler option:

{
  "compilerOptions": {
    "types": ["react-native-web"]
  }
}

@fabioh8010 fabioh8010 closed this Aug 8, 2024
@fabioh8010
Copy link
Contributor Author

Closing as per discussed above, we will create a PR with the instructions to this repo soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants