Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add with-router-typescript example#423

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Josehower wants to merge1 commit intoexpo:master
base:master
Choose a base branch
Loading
fromJosehower:master

Conversation

Josehower
Copy link

Add new with router typescript example based on suggestions#412 (comment)

karlhorky, siarheipashkevich, inoue2002, skittlesaur, and chrisdadev13 reacted with hooray emojikarlhorky, Altroo, Dr-Chaos, supacode, skittlesaur, and chrisdadev13 reacted with heart emoji
"metro": "^0.73.7",
"metro-resolver": "^0.73.7"
},
"overrides": {

Choose a reason for hiding this comment

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

why do we need it?

Copy link
Contributor

Choose a reason for hiding this comment

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

"resolutions" and"overrides" are in the originalpackage.json fromwith-router as well:

"resolutions": {
"metro":"^0.73.7",
"metro-resolver":"^0.73.7"
},
"overrides": {
"metro":"^0.73.7",
"metro-resolver":"^0.73.7"
},

probably some compatibility thing

@DanHarman
Copy link

Is there any point in this whennpx create-expo-app -t offers a typescript with router option, that also has a tab bar and a few example screens?

@mattwoodruff808
Copy link

I will say I would greatly appreciate this PR. I love expo-router, and have been having issues trying to implement TypeScript after spinning upnpx create-expo-app@latest --example with-router. This would help me a ton!

@AndresdoSantos
Copy link

I already created the application and installed the TS even before starting to use expo-router, is there a way to type the routes?

@karlhorky
Copy link
Contributor

is there a way to type the routes?

There is a discussion about typed props of a route here (originallyan issue, but converted into a discussion):

AndresdoSantos reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@byCedricbyCedricAwaiting requested review from byCedric

@EvanBaconEvanBaconAwaiting requested review from EvanBacon

2 more reviewers

@karlhorkykarlhorkykarlhorky left review comments

@siarheipashkevichsiarheipashkevichsiarheipashkevich left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@Josehower@DanHarman@mattwoodruff808@AndresdoSantos@karlhorky@siarheipashkevich

[8]ページ先頭

©2009-2025 Movatter.jp