Skip to content

btford/ng2-ts-hello

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular 2 starter app written in TypeScript

Use latest TypeScript compiler

TypeScript 1.5 beta includes everything you need. Make sure to upgrade, even if you installed TypeScript previously.

$ npm install -g typescript@^1.5.0-beta

Start up the compiler

$ cd ts-quickstart
$ tsc -w
message TS6042: Compilation complete. Watching for file changes.

Updating the bundles

In the angular repo run gulp build.js copy over the output from dist/bundle to local bundle dir.

.d.ts Typings

The typings in typings/angular2/ are partially autogenerated, partially hand written. All the symbols should be present, but probably have wrong paramaters and missing members. Modify them as you go.

Use a TypeScript-aware editor

We have good experience using these editors:

About

Hello world for Angular 2 and TS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%