File tree Expand file tree Collapse file tree 12 files changed +13
-13
lines changed
Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 44This sample shows a simple Typescript application using an AMD module.
55
66=== Running ===
7- tsc --module amd app.ts
7+ tsc --sourcemap -- module amd app.ts
88start default.htm
99
1010
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ D3 visualization
77- Use of modules and interfaces
88
99=== Running ===
10- tsc data.ts
10+ tsc --sourcemap data.ts
1111start perf.html
Original file line number Diff line number Diff line change 55This sample shows basic class definition and instantiation.
66
77=== Running ===
8- tsc greeter.ts
8+ tsc --sourcemap greeter.ts
99start greeter.html
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ npm install
3030
31315. Compile the app with the following command:
3232
33- tsc --module commonjs app.ts
33+ tsc --sourcemap -- module commonjs app.ts
3434
35356. Launch the Node process to serve the app using the following command:
3636
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ class Helicopter implements Flyable { ... }
1515class FlyingCar implements Drivable, Flyable { ... }
1616
1717=== Running ===
18- tsc interfaces.ts
18+ tsc --sourcemap interfaces.ts
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ This sample shows a simple jQuery application in TypeScript using a jQuery TypeS
99For best results, scroll the window using the scrollbar.
1010
1111=== Running ===
12- tsc --target ES5 parallax.ts
12+ tsc --sourcemap -- target ES5 parallax.ts
1313start parallax.html
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ features of TypeScript are highlighted:
1111
1212
1313=== Running ===
14- tsc Driver.ts -out game.js
14+ tsc Driver.ts --sourcemap - out game.js
1515cscript game.js
1616
1717For web execution use play.htm.
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ This sample implements a very basic node.js application using TypeScript
66
77=== Running ===
88For HttpServer
9- tsc --module commonjs HttpServer.ts
9+ tsc --sourcemap -- module commonjs HttpServer.ts
1010node HttpServer.js
1111
1212For TcpServer
13- tsc --module commonjs TcpServer.ts
13+ tsc --sourcemap -- module commonjs TcpServer.ts
1414node TcpServer.js
Original file line number Diff line number Diff line change 55This sample shows a raytracer implementation in TypeScript.
66
77=== Running ===
8- tsc raytracer.ts
8+ tsc --sourcemap raytracer.ts
99start raytracer.html
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ Simple use of classes and inheritance:
88
99
1010=== Running ===
11- tsc animals.ts
11+ tsc --sourcemap animals.ts
You can’t perform that action at this time.
0 commit comments