jeremyjs / zenith-azimuth

Puts you at the top of your game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supports Expo iOS Supports Expo Android Supports Expo Web

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: expo init --template expo-template-blank-typescript
  • cd into the project

Adding TypeScript to existing projects

  • Copy the tsconfig.json from this repo, or new typescript template
  • Add typescript dependencies: yarn add --dev @types/react @types/react-native @types/react-dom typescript
  • Rename files tpo TypeScript, .tsx for React components and .ts for plain typescript files

πŸ“ Notes

About

Puts you at the top of your game.


Languages

Language:TypeScript 98.9%Language:JavaScript 1.1%