Skip to content

Commit

Permalink
Moved Showdown export to declared module.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbowdon committed Sep 8, 2014
1 parent dffdca5 commit 01c7e55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion showdown/showdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,6 @@ declare module Showdown {
function forEach<T>(obj: T[], callback: (value: T, index: number, array: T[]) => any): void;
}

export = Showdown;
declare module "showdown" {
export = Showdown;
}

0 comments on commit 01c7e55

Please sign in to comment.