* [react-bootstrap] remove incorrect exports
several sub-components are exported in index.d.ts, when they are not
in the library itself.
should fail:
`import { DropdownMenu } from 'react-bootstrap';`
should succeed:
`import { Dropdown } from 'react-bootstrap';`
`import DropdownMenu from 'react-bootstrap/lib/DropdownMenu';`
* [react-bootstrap] fix Dropdown.Menu typing
DropdownMenu uses `export =`, so the import must use require, `import *`.
this matches the pattern in Carousel, FormControl, etc.
-1 and 1 aren't the only numbers allowed. Any number less than or greater than 0 will sort the item properly.
This enables shortcuts like (a, b) => a - b;
Restricting the signature to -1 | 0 | 1 is a mistake.
* offset, endOffset and repeat in the Pattern Interface can also be of type string
* added a few new tests with new string offset, endOffset and repeat
* autoprefixer: updated to match postcss Plugin types for postcss 7.x types, resolve error with Transformer type
* #29357: Renamed autoprefixer.AutoprefixerOptions to autoprefixer.Options
* [styled-components] Upgrade to 4.0.0
* [styled-components] Remove 2.9 dependent test, lower ts version
* [styled-components] Add ThemeConsumer
* [styled-components] Remove unused import in test
* [styled-components] Add v3 typings
* [styled-components] Fix themed keyframes return type
* Loosen up type for as prop, add extra test case
* Remove unnecessary generic prop
* Bunyan types: RotatingFileStream type added, tests updated
* Bunyan types: RotatingFileStream type added, tests updated part2
* Change after review remarks- path should not be optional field in RotatingFileStream
* Definitions for strophe.js, as suggested in PR #27682.
* [strophe.js] Make all 'Function' types from muc.d.ts more specific.
* [strophe.js] enable as many lint rules as possible.
* [strophe.js] fix the headers.
* [strophe.js] More cleanup to enable more tslint rules.
* Add types for Theo package
* Remove strings and Theo interface
* Fix tests
* Remove string type from Transform union type
* 'OutputFormat' -> 'Format'
* Update utils.d.ts to include `isHexStrict` method
As per the documentation in beta 36, there is a method `isHexStrict` method that checks if the passed string is hex and additionally starts with the '0x' prefix.
* Restrict parameters to number or string in `isHexStrict`.
* Remove superfluous string type in `isHexStrict`
* `isHexStrict`: add test case for number
Some of the Detox types were broken when testing on the example snippets
included in the docstrings. These changes fix the tslint errors to the newly
added tests.
this might be a build breaking change for some users of "first" in strict null checking mode, albeit one with an easy fix:
if you are sure that having zero returned rows is impossible, just add an exclamation mark to ignore the null check like this: r.first().!get(0) or just perform a proper check..