EssentialTypeScriptBook icon indicating copy to clipboard operation
EssentialTypeScriptBook copied to clipboard

Source for the eBook "Essential TypeScript"

Results 9 EssentialTypeScriptBook issues
Sort by recently updated
recently updated
newest added

Issue 14 [here](https://github.com/jchadwick/EssentialTypeScriptBook/issues/14) Was wondering why bootstrap didn't style things appropriately :) Oh, also it might be possible that the bootstrap CDN is outdated. At this point of the tutorial,...

There are 5 instances where class="list-group-item" has an extra "}", which TypeScript / Linting does not detect. The result is that bootstrap does not pick up on the list-group-item class...

Using system.js 0.20.19, I had to configure system.js with `SystemJS.config({packages: {'/': {defaultExtension: 'js'}}});` instead of `System.defaultJSExtensions = true;` However, when using the `system-production.js`, the config option `packages` is not supported....

function add(...values) { `...` token used in a parameter list is called _rest parameter_ --- ``` var values = Array.prototype.splice.call(arguments, [1]) ``` should be ``` var values = Array.prototype.slice.call(arguments), ```...

> In a class-based language like C# or Java, I would use the TodoStateChanger class as my base class - creating new classes that derived from it so they could...

https://github.com/jchadwick/EssentialTypeScriptBook/blob/master/manuscript/05.Classes.md > At this point I want to point out that, even though I've been calling them "getter and setter properties" like they have to go together, this code is...

https://github.com/jchadwick/EssentialTypeScriptBook/blob/master/manuscript/05.Classes.md ``` ts TodoService.getNextId = function() { return TodoService.lastId += 0; } ``` Is `+= 0` intentional? I assume you meant `+= 1`? If not then I'm unclear why it...

``` ts list.push(...toAdd); ``` I totally get why the `...` is needed in the other examples for their sugar to work, but this one baffled me. I'm sure there are...

https://github.com/jchadwick/EssentialTypeScriptBook/blob/master/manuscript/02.ECMAScript2015.md ``` ts function countdown({ initial, final: final = 0, interval: interval = 1, initial: current }) { while(current > final) { console.log(current); current -= interval; } } ``` I...