mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Changed bool -> boolean to align with TypeScript 0.9
Updated bool type declarations to boolean to align with the ES6 standard now supported in TS 0.9.
This commit is contained in:
20
bootstrap/bootstrap.d.ts
vendored
20
bootstrap/bootstrap.d.ts
vendored
@@ -7,16 +7,16 @@
|
||||
/// <reference path="../jquery/jquery.d.ts"/>
|
||||
|
||||
interface ModalOptions {
|
||||
backdrop?: bool;
|
||||
keyboard?: bool;
|
||||
show?: bool;
|
||||
backdrop?: boolean;
|
||||
keyboard?: boolean;
|
||||
show?: boolean;
|
||||
remote?: string;
|
||||
}
|
||||
|
||||
interface ModalOptionsBackdropString {
|
||||
backdrop?: string; // for "static"
|
||||
keyboard?: bool;
|
||||
show?: bool;
|
||||
keyboard?: boolean;
|
||||
show?: boolean;
|
||||
remote?: string;
|
||||
}
|
||||
|
||||
@@ -25,8 +25,8 @@ interface ScrollSpyOptions {
|
||||
}
|
||||
|
||||
interface TooltipOptions {
|
||||
animation?: bool;
|
||||
html?: bool;
|
||||
animation?: boolean;
|
||||
html?: boolean;
|
||||
placement?: any;
|
||||
selector?: string;
|
||||
title?: any;
|
||||
@@ -35,8 +35,8 @@ interface TooltipOptions {
|
||||
}
|
||||
|
||||
interface PopoverOptions {
|
||||
animation?: bool;
|
||||
html?: bool;
|
||||
animation?: boolean;
|
||||
html?: boolean;
|
||||
placement?: any;
|
||||
selector?: string;
|
||||
trigger?: string;
|
||||
@@ -47,7 +47,7 @@ interface PopoverOptions {
|
||||
|
||||
interface CollapseOptions {
|
||||
parent?: any;
|
||||
toggle?: bool;
|
||||
toggle?: boolean;
|
||||
}
|
||||
|
||||
interface CarouselOptions {
|
||||
|
||||
Reference in New Issue
Block a user