You can use JavaScript with TypeScript also. Typescript is developed by Microsoft. Typescript is very good technology. Type Script is completely open source.
TypeScript also support ECMA Script.
Example –
Java Script
function greeter(person) {
return "Hello, " + person;
}
var user = "Jane User";
document.body.innerHTML = greeter(user);
function greeter(person: string) {
return "Hello, " + person;
}
var user = "Jane User";
document.body.innerHTML = greeter(user);
tsc greeter.ts
AngularJs 2 will be develop with TypeScript. Learn more about here. – http://www.codeandyou.com/2015/03/typescript-angular-2-angularjs-2-will.html