Skip to content

fatorx/typescripts-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Here are some basic TypeScript examples

Type number and Number

TypeScript does not have whole numbers, no sign or anything like that. All numbers are defined as real numbers and can even be represented by binaries, hexadecimals, etc.

Reference: https://www.tektutorialshub.com/typescript/typescript-number/ https://www.typescriptlang.org/docs/handbook/basic-types.html#number

Type String

Coming soon.

Basic instructions

Install TypeScript via command line:

  • npm install -g typescript

Run examples tsc number.ts node number.js

About

Basic examples of using TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published