WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
This commit is contained in:
Andy Hanson
2016-11-28 11:16:06 -08:00
parent cd4debea25
commit 89fa98a712
1473 changed files with 77478 additions and 76346 deletions
+20 -20
View File
@@ -133,7 +133,7 @@ declare namespace ReactBootstrap {
// <Clearfix />
interface ClearfixProps extends React.HTMLProps<Clearfix> {
componentClass?: React.ReactType,
componentClass?: React.ReactType;
visibleXsBlock?: boolean;
visibleSmBlock?: boolean;
visibleMdBlock?: boolean;
@@ -144,8 +144,8 @@ declare namespace ReactBootstrap {
// <Collapse />
interface CollapseProps extends TransitionCallbacks, React.Props<Collapse> {
dimension?: 'height' | 'width' | { ( ):string };
getDimensionValue?: ( dimension:number, element:React.ReactElement<any> ) => number;
dimension?: 'height' | 'width' | { ( ): string };
getDimensionValue?: ( dimension: number, element: React.ReactElement<any> ) => number;
in?: boolean;
timeout?: number;
transitionAppear?: boolean;
@@ -284,10 +284,10 @@ declare namespace ReactBootstrap {
onHide?: Function;
onEnter?: Function;
onEntered?: Function;
onEntering?: Function;
onEntering?: Function;
onExit?: Function;
onExited?: Function;
onExiting?: Function;
onExiting?: Function;
}
type ModalDialog = React.ClassicComponent<ModalDialogProps, {}>;
var ModalDialog: React.ClassicComponentClass<ModalDialogProps>;
@@ -643,7 +643,7 @@ declare namespace ReactBootstrap {
onSelect?: SelectCallback;
}
interface PagerClass extends React.ClassicComponentClass<PagerProps> {
Item: typeof PageItem // Added since v0.30.0
Item: typeof PageItem; // Added since v0.30.0
}
type Pager = React.ClassicComponent<PagerProps, {}>;
var Pager: PagerClass;
@@ -1061,23 +1061,23 @@ declare namespace ReactBootstrap {
var Media: MediaClass;
/* Utils */
interface bootstrapUtilsType{
interface bootstrapUtilsType {
// TODO: Implement functions
}
function createChainedFunctionType(...funcs:Function[]):Function
interface ValidComponentChildrenType{
map: (children:any,func:any,context:any) => any
forEach:(children:any,func:any,context:any) => any
count:(children:any) => number
filter:(children:any,func:any,context:any) => any
find:(children:any,func:any,context:any) => any
every:(children:any,func:any,context:any) => any
some:(children:any,func:any,context:any) => any
toArray:(children:any) => any
function createChainedFunctionType(...funcs: Function[]): Function;
interface ValidComponentChildrenType {
map: (children: any, func: any, context: any) => any;
forEach: (children: any, func: any, context: any) => any;
count: (children: any) => number;
filter: (children: any, func: any, context: any) => any;
find: (children: any, func: any, context: any) => any;
every: (children: any, func: any, context: any) => any;
some: (children: any, func: any, context: any) => any;
toArray: (children: any) => any;
}
class utils {
static bootstrapUtils:bootstrapUtilsType
static createChainedFunction: typeof createChainedFunctionType
static ValidComponentChildren:ValidComponentChildrenType
static bootstrapUtils: bootstrapUtilsType;
static createChainedFunction: typeof createChainedFunctionType;
static ValidComponentChildren: ValidComponentChildrenType;
}
}