Representing function properties in TypeScript

My latest project has made extensive use of TypeScript, which makes JavaScript significantly less painful to use. I talk about one discovery I made on how to type a function that has an arbitrary property attached to it over at Atomic Spin.