Closed karlhorky closed 1 year ago
Simply run touch tsconfig.json && npx expo
in the with-router
template and it's fully TypeScript.
Ok, I will submit a PR for a new example with-router-typescript
then, so that these extra steps are not necessary.
I created the PR https://github.com/expo/examples/pull/423
Simply run
npx create-expo-app@latest --templete
and then you get some options like
Blank, Blank (Typescript), Navigation (Typescript), Blank (Bare)
you need to choose Navigation (Typescript) for expo router with typescript.
@yash-bansod-2003 do these options include Expo Router too?
I think when we tested last time, they did not include Expo Router...
typo on template
npx create-expo-app@latest --templete
should be
npx create-expo-app@latest --template
Hi there 👋 First of all, thanks for Expo and these examples, super useful!
I just wanted to request a new example with:
The existing example
with-router
uses JavaScript.Potentially related: