Code Monkey home page Code Monkey logo

typescript-self-learning's Introduction

TypeScript

This repo includes all my projects while I am learning TypeScript.

Note

All of my projects I applied while learning the TypeScript course .

Setup

We'll eventually be installing TypeScript in individual project, but just to get up and running in simple environment, we're going to install TypeScript globally on our machine with the following command :

npm i -g typescript

That should't take more than a few seconds. When it's done, run the following command :

tsc -v

And you should get a version number as the output.

With that work done, let's create some files! Move into your lectures directory and create a first-typescript directory with a javascript.js file and a typescript.js file inside. Open it in VS Code.

mkdir first-typescript
cd first-typescript
touch javascript.js
touch typescript.js
code .

Note the .ts file extension on the typescript.ts file - we'll see other typescript file extensions down the road, but this is the most common.

Important

We typically won't create JavaScript files in our TypeScript projects (even though it's totally valid to); we're just doing so here to enable us to compare JavaScript vs. TypeScript behavior in VS Code.

No Lecture
0 First-TypeScript.

License

MIT

Free Software, Hell Yeah!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.