Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Getting Up to Speed with TypeScript
The Development of TypeScript
What TypeScript Is, Does, and Does Not Do
TypeScript vs. JavaScript Gotchas
Type Coercion Issues 5
TypeScript vs. Other Compile-to-JavaScript Languages
TypeScript vs. ECMAScript
Installation
Visual Studio 2012
Other Visual Studio Editions
On Node.js
Sublime Text
From JavaScript to TypeScript
A Simple HTML+JS Page
TypeScript and IntelliSense
Errors and Declaration Files
A Little Code Structure with Classes and Modules
Summary
Chapter 2: The New Syntax
The Story So Far
The Type System
Primitive Types
The Any Type
Arrays
Casts
Ambient Declarations
Functions
Variations on a Signature
Function Overloads
Classes
Class Members
Access Modifiers
Instantiating Classes
Static Classes and Members
Object Literals vs. Anonymous Types
Inheritance
Interfaces
Using Interfaces as Function Types
Using Interfaces as Object Types
Combining Interfaces
Modules
Summary
Chapter 3: Working with TypeScript
The Compiler
The File List
Declaration Files
Has Someone Else Written It?
Substitute with an Ambient Declaration
Use the Compiler to Generate a Declaration File
Roll Your Own
TypeScript in Your Projects
In Your MSBuild File
In Your Web Sites
In the Development Life Cycle
Summary
Appendix A: Webliography
Core Links
GitHub Projects
Notable Bugs and Discussions
Miscellaneous
Index
← Prev
Back
Next →
← Prev
Back
Next →