Typescript

From wikinotes
Revision as of 01:08, 17 December 2022 by Will (talk | contribs) (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A superset of javascript that compiles to javascript, and includes compile-time type-checking.
it's runtime behaviour remains untyped.
The strictness of type-checks is configurable.

Documentation

official docs https://www.typescriptlang.org/docs/
homepage https://www.typescriptlang.org/

Intro/Reference

typescript install

Libraries

typescript libraries

Syntax

typescript variables
typescript datatypes
typescript modules
typescript objects
typescript interfaces
typescript classes
typescript functions

Tools

typescript compilers