Unwrap all lone ambient external modules

This commit is contained in:
Ryan Cavanaugh
2016-04-22 14:12:45 -07:00
parent fa7a5ddc9b
commit 4a433abbf4
616 changed files with 73977 additions and 74850 deletions
+24 -25
View File
@@ -5,34 +5,33 @@
/// <reference path="../react/react.d.ts" />
declare module "react-scroll" {
import React = __React
interface Link extends React.ClassicComponentClass<any> {}
interface Element extends React.ClassicComponentClass<any> {}
import React = __React
interface scrollEvnt {
register(evtName: string, callback: Function) : void,
remove(evtName: string) : void
}
interface Link extends React.ClassicComponentClass<any> { }
interface Element extends React.ClassicComponentClass<any> { }
interface Events {
scrollEvent: scrollEvnt
}
interface scrollEvnt {
register(evtName: string, callback: Function): void,
remove(evtName: string): void
}
interface scroller {
scrollTo(to: any, animate?: any, duration?: any, offset?: any) : void
}
interface Events {
scrollEvent: scrollEvnt
}
const Link: Link;
const Element: Element;
const Events: Events;
const scroller: scroller;
interface scroller {
scrollTo(to: any, animate?: any, duration?: any, offset?: any): void
}
export {
Link,
Element,
Events,
scroller
}
}
declare const Link: Link;
declare const Element: Element;
declare const Events: Events;
declare const scroller: scroller;
export {
Link,
Element,
Events,
scroller
}