DefinitelyTyped/types/react-bootstrap
Nathan Shively-Sanders 0d1d20952a
Fix quasi-deprecate of @types/react-bootstrap@1 (#44158)
* 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
2020-04-26 13:14:05 -04:00
..
lib
test
v1 Fix quasi-deprecate of @types/react-bootstrap@1 (#44158) 2020-04-26 13:14:05 -04:00
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.