Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaibhav18matere/typescript
https://github.com/vaibhav18matere/typescript
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vaibhav18matere/typescript
- Owner: vaibhav18matere
- Created: 2023-01-10T08:24:29.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T05:44:36.000Z (5 months ago)
- Last Synced: 2024-10-11T01:53:46.514Z (26 days ago)
- Language: TypeScript
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Description:
- "Static Checking" - analyze the code as we type it.
- TS is developement tool - project still runs in JS.
- Chances of error producing an error is less.
- typescriptlang.org - playground for trying TS.
- Types : Number, String, Boolean, Null, Undefined, Void, Object, Array, Tuples, Any, Never, unknown.
- every type is lowercase.
- It is not so' good practice to use types at every line, you can actually skip this and TS will understand it's type.## Setup:
- It's very easy to setup this project, a couple of things you need to make sure you should have on your machine, 1. have typscript installed globally 2. run npx tsx array.ts or any file ts file which you want to run