When compiled, the type declarations are erased and ECMAScript 3 compatible code is generated.
When possible, Type Script tries to match syntax and semantics to proposals for ECMAScript 6.
JSON schemas describe the shape of the JSON file, as well as value sets, default values, and descriptions.
Servers like JSON Schema Store provide schemas for most of the common JSON based configuration files.
You also get easy navigation around code, as well as find references, rename, and more. Type Script is a superset of Java Script and you write it like you write Java Script which I like. One argument has been made that Type Script is for people who don't want to learn Java Script. As Ward Bell said in an email: I think Ward says it well.
It builds on Java Script by adding classes, modules, interfaces and optional type declarations.
Another two tools that have become popular, especially in React projects, are Babel and Flow.
Babel is a Java Script transpiler that incorporates future features of Java Script and can transpile them to a version compatible with browsers.
You can use single line (//) as well as block comments (/* */) as used in Java Script.
For properties and values, both for JSON data with and without a schema, we offer up suggestions as you type with Intelli Sense.