• Welcome!
Total books
Book Detail
Download Understanding TypeScript free book as pdf format

Understanding TypeScript

TypeScript is an extension of JavaScript intended to enable easier development of large-scale JavaScript applications. This link for educational purpose only. Please remove file from your computer after familiarization.

TypeScript is an extension of JavaScript intended to enable easier development of large-scale JavaScript applications. While every JavaScript program is a TypeScript program, TypeScript offers a module system, classes, interfaces, and a rich gradual type system. The intention is that TypeScript provides a smooth transition for JavaScript programmers—well-established JavaScript programming idioms are supported without any major rewriting or annotations. One interesting consequence is that the TypeScript type system is not statically sound by design. The goal of this paper is to capture the essence of TypeScript by giving a precise definition of this type system on a core set of constructs of the language. Our main contribution, beyond the familiar advantages of a robust, mathematical formalization, is a refactoring into a safe inner fragment and an additional layer of unsafe rules.

Book year:

Book pages: 25

Book language: en

File size: 405.39 KB

File type: pdf

Published: 10 June 2022 - 13:00