Merge pull request #345 from cbowdon/typescript_ext_mod_support
Added declaration for TypeScript external module support
This commit is contained in:
commit
55376390ff
1 changed files with 4 additions and 0 deletions
4
mithril.d.ts
vendored
4
mithril.d.ts
vendored
|
|
@ -63,3 +63,7 @@ interface MithrilXHROptions {
|
|||
|
||||
declare var Mithril: MithrilStatic;
|
||||
declare var m: MithrilStatic;
|
||||
|
||||
declare module 'mithril' {
|
||||
export = MithrilStatic;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue