Skip to content

Commit

Permalink
Update c3.d.ts
Browse files Browse the repository at this point in the history
Declare c3 as an exported module so the definitions show up in AMD modules (e.g. when using require.js with Typescript)
  • Loading branch information
lediur committed Nov 17, 2015
1 parent fc34176 commit eb2abf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions c3/c3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1067,3 +1067,7 @@ declare module c3 {

export function generate(config: ChartConfiguration): ChartAPI;
}

declare module "c3" {
export = c3;
}

0 comments on commit eb2abf5

Please sign in to comment.