src/mithril.ts

   1/**

   2 * translates mithril libraries to an ES6 module and provides some Typescript type shortcuts.

   3 */

   4

   5

   6/**

   7 * import and re-export the mithril m objkect

   8 */

   9export const m = require("mithril");

  10

  11/**

  12 * provide and export a Typescript Vnode type

  13 */

  14export type Vnode = typeof m.Vnode;

  15

  16