From 1f3940977cf58eb9374a0043f2e34f56ee234740 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 1 May 2015 08:58:22 -0700 Subject: [PATCH] fix(quickstart): create app.ts before running tsc --watch --- public/docs/js/latest/quickstart.jade | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/public/docs/js/latest/quickstart.jade b/public/docs/js/latest/quickstart.jade index ef5e7ff1db..4158b33113 100644 --- a/public/docs/js/latest/quickstart.jade +++ b/public/docs/js/latest/quickstart.jade @@ -26,6 +26,13 @@ quickstart GitHub repository. This repository provides a faster start than building from npm. This repository includes the Angular distribution and type definitions for TypeScript. + + p. + Create two files, index.html and + app.ts, both at the root of the project: + + pre.prettyprint + $ touch app.ts index.html // STEP 2 - Start the TypeScript compiler ########################## .l-main-section @@ -49,14 +56,6 @@ .l-main-section h2#section-transpile 3. Import Angular - p. - Create two files, index.html and - app.ts, both at the root of the project: - - pre.prettyprint - $ touch index.html - $ touch app.ts - p Inside of app.ts, import the type definitions from Angular: pre.prettyprint code /// <reference path="typings/angular2/angular2.d.ts" />