diff --git a/types/react-bootstrap/index.d.ts b/types/react-bootstrap/index.d.ts index 0377a78f79..b59403cc39 100644 --- a/types/react-bootstrap/index.d.ts +++ b/types/react-bootstrap/index.d.ts @@ -12,95 +12,6 @@ // TypeScript Version: 2.3 import * as React from 'react'; -import { - Accordion, - Alert, - Badge, - Breadcrumb, - BreadcrumbItem, - Button, - ButtonGroup, - ButtonToolbar, - Carousel, - CarouselCaption, - CarouselItem, - Checkbox, - Clearfix, - Col, - Collapse, - ControlLabel, - Dropdown, - DropdownButton, - DropdownMenu, - DropdownToggle, - Fade, - Form, - FormControl, - FormControlFeedback, - FormControlStatic, - FormGroup, - Glyphicon, - Grid, - HelpBlock, - Image, - InputGroup, - InputGroupAddon, - InputGroupButton, - Jumbotron, - Label, - ListGroup, - ListGroupItem, - Media, - MediaBody, - MediaHeading, - MediaLeft, - MediaList, - MediaListItem, - MediaRight, - MenuItem, - Modal, - ModalBody, - ModalDialog, - ModalFooter, - ModalHeader, - ModalTitle, - Nav, - Navbar, - NavbarBrand, - NavbarCollapse, - NavbarHeader, - NavbarToggle, - NavDropdown, - NavItem, - Overlay, - OverlayTrigger, - PageHeader, - PageItem, - Pager, - PagerItem, - Pagination, - PaginationButton, - Panel, - PanelGroup, - Popover, - ProgressBar, - Radio, - ResponsiveEmbed, - Row, - SafeAnchor, - SplitButton, - SplitToggle, - Tab, - TabContainer, - TabContent, - Table, - TabPane, - Tabs, - Thumbnail, - Tooltip, - Well, - utils, -} from './lib'; export type Sizes = 'xs' | 'xsmall' | 'sm' | 'small' | 'medium' | 'lg' | 'large'; @@ -211,4 +122,4 @@ export { Tooltip, Well, utils, -}; +} from './lib'; diff --git a/types/react-bootstrap/lib/utils/ValidComponentChildren.d.ts b/types/react-bootstrap/lib/utils/ValidComponentChildren.d.ts deleted file mode 100644 index 70b786d12e..0000000000 --- a/types/react-bootstrap/lib/utils/ValidComponentChildren.d.ts +++ /dev/null @@ -1 +0,0 @@ -// TODO diff --git a/types/react-bootstrap/tsconfig.json b/types/react-bootstrap/tsconfig.json index 4ba65fb15e..eb50273e85 100644 --- a/types/react-bootstrap/tsconfig.json +++ b/types/react-bootstrap/tsconfig.json @@ -16,11 +16,16 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "noUnusedLocals": true + "noUnusedLocals": false }, "files": [ "index.d.ts", + "lib/utils/capitalize.d.ts", "test/react-bootstrap-tests.tsx", - "test/react-bootstrap-individual-components-tests.tsx" + "test/react-bootstrap-individual-components-tests.tsx", + "lib/utils/deprecationWarning.d.ts", + "lib/utils/PropTypes.d.ts", + "lib/utils/splitComponentProps.d.ts", + "lib/utils/StyleConfig.d.ts" ] }