Skip to content

Compile with the Type (index.d.ts) Information for Mithril 1.0

Manabu Tokunaga edited this page Mar 16, 2017 · 2 revisions

Problem

You are using Typescript 2.x and so you want to pull in the @Types file for Mithril 1.x

Solution

Note that this is likely to change shortly to more of an official npm package. When that happens this article can be considered obsolete.

Use mithril.d.ts project and follow the README.MD instructions.