Skip to content

Commit

Permalink
Make export a module (DefinitelyTyped#20474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Sosa authored and vvakame committed Oct 11, 2017
1 parent 177aab9 commit 0ac7980
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions types/scrollreveal/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
// Definitions by: David Pires <https://github.com/Davidblkx>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare const ScrollReveal: scrollReveal.ScrollRevealObject;

declare module 'ScrollReveal' {
export = ScrollReveal;
}

declare namespace scrollReveal {
interface ScrollRevealRotateObject {
x?: number;
Expand Down Expand Up @@ -64,5 +70,3 @@ declare namespace scrollReveal {
sync(): void;
}
}

declare var ScrollReveal: scrollReveal.ScrollRevealObject;

0 comments on commit 0ac7980

Please sign in to comment.