diff --git a/mithril.d.ts b/mithril.d.ts index 56d16901..646116de 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -250,7 +250,7 @@ declare module _mithril { ( rootElement: Element, defaultRoute: string, - routes: MithrilRoutes + routes: MithrilRoutes ): void; /** @@ -668,12 +668,12 @@ declare module _mithril { /** * This represents a key-value mapping linking routes to components. */ - interface MithrilRoutes { + interface MithrilRoutes { /** * The key represents the route. The value represents the corresponding * component. */ - [key: string]: MithrilComponent; + [key: string]: MithrilComponent; } /**