Skip to main content
Toggle navigation
Quick Start
Documentation
Download
Connect
Playground
TypeScript 3.0 is now available.
Download
our latest version today!
Select...
Classic JavaScript
Adding Types
Using Classes
Using Inheritance
Using Generics
Unions and Type Guards
Building a Raytracer
TypeScript
Share
Options
noImplicitAny
Trigger an error if TypeScript uses 'any' whenever it can't infer a type.
strictNullChecks
Makes types non-nullable by default, catching a broad class of errors.
strictFunctionTypes
Disable bivariant parameter checking for function types.
strictPropertyInitialization
Ensure non-undefined class properties are initialized in the constructor.
noImplicitThis
Flag locations where the type of a 'this' expression implicitly has the type 'any'.
noImplicitReturns
Error on functions which do not return from every branch.
Run
JavaScript