mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
* Better fake deprecate of @types/react-bootstrap@1 This fixes up #43576. Normally we would not even add types for a version of a package that ships its own types, because module resolution will never cause the compiler use the old types from `@types`. So it doesn't matter that ```sh $ npm install react-bootstrap @types/react-bootstrap ``` gives you `react-bootstrap@1.0` and `@types/react-bootstrap@0.32` So I think the best thing to do is to delete the 1.0 files. There's no reason to update `@types/react-bootstrap@1.0` again. * Revert "Better fake deprecate of @types/react-bootstrap@1" This reverts commit 2ad1da4674e35c94467f162eebb4ebcbc40edb9b. * Add tslint.json and empty export instead |
||
|---|---|---|
| .. | ||
| lib | ||
| test | ||
| v1 | ||
| index.d.ts | ||
| OTHER_FILES.txt | ||
| README.md | ||
| tsconfig.json | ||
| tslint.json | ||
react-bootstrap
Intended compatibilty
This library is intended for releases of react-bootstrap prior to v1.0.0, e.g. v0.32.4.
The reason is that react-bootstrap v1.0.0 targets Bootstrap v4, and includes its own
typings. react-bootstrap prior to v1.0.0 targets Bootstrap v3 and does not include any
typings.
It does not make sense for everyone to upgrade to Bootstrap v4, therefore these typings
are useful for everyone that wants to stay on Bootstrap v3 and react-bootstrap prior to v1.0.0.
The typings for v1.0.0 were merged in this pull request.