Hi,
I installed @types/react-bootstrap version 1.0.0, but folder lib with declarations is missing in node_modules. It results in Cannot find module './lib'.ts(2307) error in node_modules/@types/react-bootstrap/index.d.ts.

@types/react-bootstrap package and had problems.Definitions by: in index.d.ts) so they can respond.The lib folder is present in this repository, but not in the published package. Is it maybe because lib isn't included in files in the tsconfig.json? Ping @sandersn, since according to his bio he's on DefinitelyTyped duty atm.
Any news on this one?
Not yet. I think the typescript team would be useful to help out with this, to give insight into how files are chosen during the publishing process.
Is the workaround for this to copy all the type files into your project and maintain them on your own for now?
I think the best way forward would be to file an issue here: https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/publisher
I'm using this particular version in the project:
"@types/react-bootstrap": "0.32.21",
and it works fine. lib directory is properly included and there seem to be no other issues.
@beerose [email protected] ships with its own types, so you don't need @types/react-bootstrap anymore.
@beerose [email protected] ships with its own types, so you don't need
@types/react-bootstrapanymore.
I am aware. However, we haven't migrated to v1.0 (Bootstrap 4+) yet and we're using v0.32.x (Bootstrap 3). So I do need @types/react-bootstrap.
Most helpful comment
I am aware. However, we haven't migrated to
v1.0(Bootstrap 4+) yet and we're usingv0.32.x(Bootstrap 3). So I do need@types/react-bootstrap.