// Extra declarations to make JS plug into TS properly. // Abbreviated declarations for mithril.js. declare var m: any; interface MithrilRequest { } interface MithrilRawElement { } interface MithrilComponent { oninit?: Function onmatch?: Function render?: Function onremove?: Function view?: Function } interface MithrilVnode { } // JS globals declare const process: { versions: { node: string | null, } | null, } | undefined;