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

Add TypeScript type annotations for improved type safety #4511

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hichemfantar
Copy link
Contributor

Introduce TypeScript type annotations across various components to enhance type safety and improve type inference for better developer experience.

Copy link

netlify bot commented Feb 16, 2025

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 09c3f45
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/67b4844c48f22c0008dd5792
😎 Deploy Preview https://deploy-preview-4511--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hichemfantar hichemfantar marked this pull request as ready for review February 16, 2025 15:00
Copy link
Collaborator

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Files in theme directory comes from Docusaurus swizzle mechanism and they should not be altered without an explicit functional need, since this complicates the upgrade process.

If you would like to see the improved types in there (since they seem to be present in upstream), you should reswizzle the latest version of components, and apply the React Native website custom changes on top of that, instead of typing things manually:

@hichemfantar hichemfantar requested a review from Simek February 18, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants