some docs
This commit is contained in:
parent
2160dc13c1
commit
8fadeadb8f
4 changed files with 333 additions and 276 deletions
4
mithril.d.ts
vendored
4
mithril.d.ts
vendored
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
interface MithrilStatic {
|
||||
|
||||
(selector: string, attributes: MithrilAttributes, ...children: Array<string|MithrilVirtualElement>): MithrilVirtualElement;
|
||||
(selector: string, ...children: Array<string|MithrilVirtualElement>): MithrilVirtualElement;
|
||||
(selector: string, attributes: MithrilAttributes, ...children: Array<string|MithrilVirtualElement|MithrilModule>): MithrilVirtualElement;
|
||||
(selector: string, ...children: Array<string|MithrilVirtualElement|MithrilModule>): MithrilVirtualElement;
|
||||
|
||||
prop<T>(promise: MithrilPromise<T>) : MithrilPromiseProperty<T>;
|
||||
prop<T>(value: T): MithrilProperty<T>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue