Make export a module (#20474)

This commit is contained in:
Santiago Sosa
2017-10-11 22:50:34 +09:00
committed by Masahiro Wakame
parent 177aab9f5b
commit 0ac7980c24
+6 -2
View File
@@ -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;
@@ -64,5 +70,3 @@ declare namespace scrollReveal {
sync(): void;
}
}
declare var ScrollReveal: scrollReveal.ScrollRevealObject;