If you're a TypeScript user and you're reading this, then you're using TSLint (most likely). Recently, a situation at work arose where even …
Javascript
Dealing With Tslint Errors/Warnings In Third Party Files
This might be a bit of an edge case for some, but recently I needed to use a third-party script in my Aurelia TypeScript application that …
Sorting By Vote Count & Recently Added Date In Javascript
Recently whilst working on my web app Built With Aurelia I encountered a situation where I needed to sort by the highest upvoted items, but …
Const or Let: Let’s Talk Javascript
Two of my favourite additions to ECMAScript 2015 were the const and let keywords. Sadly, I see them being misused quite often on many public …
Getting Visual Studio Code To Work With Next Versions of TypeScript
Recently whilst helping out a client with an Aurelia TypeScript project, I encountered a situation where the latest development version of …
Using Async/Await In Aurelia
One of the biggest upcoming additions to Javascript (in my opinion) is support for async/await. If you have worked with a language like C# …
String Enums In TypeScript
Sometimes you want to specify in your application multiple allowed values. For example, you might have a method which allows you to perform …
Removing Items From An Array In Javascript (by index)
It is that time of the week for Obvious Javascript Tip of the week. You probably already know how to delete an item from an array, maybe …
Removing A Character From The Start/End of a String In Javascript
Show of hands if you can off of the top of your head remove/trim a character from the start or end of a string. If your hand remained down, …