mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Fixing indentation to be consistent.
This commit is contained in:
Vendored
+4
-4
@@ -8,13 +8,13 @@
|
||||
interface MithrilStatic {
|
||||
(selector: string, attributes: Object, children?: any): MithrilVirtualElement;
|
||||
(selector: string, children?: any): MithrilVirtualElement;
|
||||
prop<T>(value?: T): (value?: T) => T;
|
||||
prop<T>(value?: T): (value?: T) => T;
|
||||
withAttr(property: string, callback: (value: any) => void): (e: Event) => any;
|
||||
module(rootElement: Node, module: MithrilModule): void;
|
||||
trust(html: string): String;
|
||||
render(rootElement: Element, children?: any): void;
|
||||
render(rootElement: HTMLDocument, children?: any): void;
|
||||
redraw: MithrilRedraw;
|
||||
redraw: MithrilRedraw;
|
||||
route(rootElement: Element, defaultRoute: string, routes: { [key: string]: MithrilModule }): void;
|
||||
route(rootElement: HTMLDocument, defaultRoute: string, routes: { [key: string]: MithrilModule }): void;
|
||||
route(path: string, params?: any, shouldReplaceHistory?: boolean): void;
|
||||
@@ -28,8 +28,8 @@ interface MithrilStatic {
|
||||
}
|
||||
|
||||
interface MithrilRedraw {
|
||||
(): void;
|
||||
strategy: (value?: string) => string;
|
||||
(): void;
|
||||
strategy: (value?: string) => string;
|
||||
}
|
||||
|
||||
interface MithrilVirtualElement {
|
||||
|
||||
Reference in New Issue
Block a user