Skip to content

Instantly share code, notes, and snippets.

/// <reference path="../../mithril.d.ts"/>
module Components {
interface ViewArgs {
sortBy?: any
getTracks?: (sort: string) => Model.Track[]
selectTrack?: (track: {}) => void
isSortedOn?: (sort: string) => string
tracks?: Model.Track[]
}