Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ramondeleonca/bluescout-2024
https://github.com/ramondeleonca/bluescout-2024
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramondeleonca/bluescout-2024
- Owner: ramondeleonca
- Created: 2024-02-19T00:11:32.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-26T06:35:24.000Z (11 months ago)
- Last Synced: 2024-11-12T09:27:56.846Z (2 months ago)
- Language: TypeScript
- Size: 760 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript Example
```sh
npx create-react-native-app -t with-typescript
```TypeScript is a superset of JavaScript which gives you static types and powerful tooling in Visual Studio Code including autocompletion and useful inline warnings for type errors.
## 🚀 How to use
#### Creating a new project
- Install the CLI: `npm i -g expo-cli`
- Create a project: `npx create-react-native-app -t with-typescript`
- `cd` into the project### Adding TypeScript to existing projects
- Create a blank TypeScript config: `touch tsconfig.json`
- Run `yarn start` or `npm run start` to automatically configure TypeScript
- Rename files to TypeScript, `.tsx` for React components and `.ts` for plain typescript files> 💡 You can disable the TypeScript setup in Expo CLI with the environment variable `EXPO_NO_TYPESCRIPT_SETUP=1 expo start`
## 📝 Notes
- [Expo TypeScript guide](https://docs.expo.dev/versions/latest/guides/typescript/)