This version of the site is now archived. See the next version at v5.chriskrycho.com.

keyof and Mapped Types In TypeScript 2.1

Making JavaScript dance to an ML-ic tune.

December 17, 2016 (updated December 18, 2016)Filed under tech#javascript#programming languages#software development#typescriptMarkdown source

TypeScript keyof Follow-Up

Autocomplete all the things in all the ways!

January 03, 2017 (updated January 08, 2017)Filed under Tech#javascript#programming languages#software development#typescriptMarkdown source

Why Elm Instead of TypeScript?

Or, yet another long comment in Slack turned into a blog post.

April 23, 2017Filed under tech#elm#functional programming#javascript#programming languages#typescriptMarkdown source

Typing Your Ember, Part 1

Set your Ember.js project up to use TypeScript.

May 05, 2017Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

Typing Your Ember, Part 2

Adding TypeScript to an existing Ember.js project.

May 07, 2017Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

Typing Your Ember, Part 3

How to actually use types effectively in Ember today.

July 28, 2017Filed under tech#emberjs#typescript#typing-your-emberMarkdown source

Typing Your Ember, Part 4

Example: using Ember for view and lifecycle but plain-old TypeScript otherwise.

July 31, 2017Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

Announcing ember-cli-typescript 1.0.0

Type your apps!

August 08, 2017Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

Announcing True Myth 1.0

A library for saner programming in JavaScript, with first-class support for TypeScript (and Flow), with Maybe and Result types, and supporting both a functional style and a more traditional method-call style.

November 01, 2017Filed under Tech#functional programming#libraries#programming languages#software development#true myth#typescriptMarkdown source

I Want JSON Decoders

Elm taught me something important about how to handle my APIs.

December 25, 2017Filed under Tech#elm#javascript#software development#typescript#web developmentMarkdown source

TypeScript and Ember.js Update, Part 1

How do things look in early 2018? Pretty good, actually!

January 22, 2018 (updated July 10, 2018)Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

TypeScript and Ember.js Update, Part 2

Class properties—some notes on how things differ from the Ember.Object world.

January 24, 2018 (updated July 10, 2018)Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

TypeScript and Ember.js Update, Part 3

Computed properties, actions, mixins, and class methods.

January 25, 2018 (updated July 10, 2018)Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

TypeScript and Ember.js Update, Part 4

Using Ember Data, and service and controller injections improvements.

February 08, 2018 (updated July 10, 2018)Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

Announcing ember-cli-typescript 1.1.0

Now with generators, support for addons, and incremental compilation!

February 12, 2018Filed under Tech#emberjs#javascript#typescript#typing-your-emberMarkdown source

#EmberJS2018, Part 1

Finishing What We've Started

May 11, 2018 (updated May 11, 2018)Filed under Tech#emberjs#emberjs2018#javascript#typescriptMarkdown source

True Myth 1.3.0 and 2.0.0

A couple nice ergonomic updates and some breaking changes for consuming the library.

May 18, 2018Filed under Tech#functional programming#libraries#open source software#software development#true myth#typescript#versioningMarkdown source

#EmberJS2018, Part 2

Doubling Down on Documentation

May 18, 2018Filed under Tech#emberjs#emberjs2018#javascript#typescriptMarkdown source

Destructuring with True Myth 1.3+

A thing I didn't even realize I could do until after I published it.

May 19, 2018Filed under tech#functional programming#libraries#open source software#true myth#typescriptMarkdown source

How To Bundle TypeScript Type Definitions

If your consumers have to use compiler options, they will be very sad.

May 21, 2018Filed under tech#programming languages#true myth#typescriptMarkdown source

Higher-Order Components in Ember.js

Components as arguments! Components getting yielded! Components everywhere!

May 26, 2018 (updated May 28, 2018)Filed under Tech#emberjs#javascript#typescriptMarkdown source

#EmberJS2018, Part 4

Embracing the Ecosystem

May 29, 2018Filed under Tech#emberjs#emberjs2018#javascript#typescriptMarkdown source

Sum Type Constructors in TypeScript

Or, making TypeScript into a terrible ML because I can’t use Elm in my day job.

May 31, 2018Filed under Tech#elm#programming languages#typescriptMarkdown source

Ember.js, TypeScript, and Class Properties

An important set of corrections about the behavior of class properties in Ember.js.

July 10, 2018Filed under Tech#emberjs#typescript#typing-your-emberMarkdown source

Type-Informed Design

Revisiting our app in TypeScript’s strict mode has me thinking about what we’d do different if we had this input in the first place.

August 30, 2018Filed under Tech#ember.js#functional programming#javascript#software development#types#typescriptMarkdown source

True Myth 2.1.0 Released

A bunch of neat new utility functions on Maybe for arrays and tuples.

September 02, 2018Filed under Tech#functional programming#libraries#monads#open source software#software development#true myth#typescriptMarkdown source

A Real Victory

Today—just shy of two years since I started adding types to our Ember app—it fully type-checks.

September 05, 2018Filed under Tech#ember.js#flow#javascript#software development#typescriptMarkdown source

True Myth 2.2

Maybe helpers for safe object lookup and Result helpers for exception-throwing code.

October 27, 2018Filed under Tech#functional programming#open source software#true myth#typescriptMarkdown source

ember-cli-typescript v2 beta

Faster, more reliable builds, with better error reporting – please come test it in your apps and addons!

November 19, 2018Filed under Tech#ember-cli-typescript#ember.js#open-source software#typescriptMarkdown source

Internal and External Parameter Names in JavaScript and TypeScript

A handy design pattern stolen from Objective-C and Swift for designing nicely usable APIs.

November 26, 2018Filed under tech#javascript#software development#swift#typescriptMarkdown source

JavaScript is C

Maintaining invariants the most painful way possible.

December 20, 2018Filed under Tech#c#elm#javascript#rust#software development#typescriptMarkdown source

Announcing ember-cli-typescript v2.0

Now built with Babel, better build errors, and a docs site!

March 13, 2019Filed under Tech#emberjs#open-source software#typescriptMarkdown source

EmberConf 2019 Typed Ember Team Report

What are the next big problems on deck for TypeScript in Ember?

March 26, 2019Filed under Tech#emberjs#open-source software#typescriptMarkdown source

#EmberJS2019, Part 2

Let’s make TypeScript a first-class citizen of the Ember ecosystem.

June 17, 2019Filed under Tech#emberjs#emberjs2019#javascript#open-source software#typescriptMarkdown source

Appearance: Corecursive #34

Mostly TypeScript, but also a bit of Rust, type theory, and productivity.

July 15, 2019Filed under Tech#appearances#podcasting#programming languages#rust#typescriptMarkdown source

I was delighted to spend a bit over an hour chatting with Adam Gordon Bell on the Corecursive podcast. I was there officially to talk about TypeScript, and I did a lot of that… but we also dug into Rust a bit, of course, as well as talking about my schedule and “productivity”.

I’ve been podcasting for a few years now, but this was only the second time I’ve ever been on someone else’s podcast—and it was a blast. Thanks so much to Adam for having me on!

Ember Type-Defs Livestreaming

I’m totally becoming a YouTube star. That’s how this works, right?

July 20, 2019Filed under Tech#emberjs#javascript#typescriptMarkdown source