Closed as not planned
Description
Regression report
No longer able to build TS project after update to 9: Cannot find module './lib/api/typesWithBodyKey' or its corresponding type declarations.
Quick look at the package: the file no longer exists.
Update: Deleting the line from the index.d.ts manually does the trick.
Last working version
8.18.2
To reproduce
create a file foo.ts
import { Client } from '@elastic/elasticsearch';
run
npx tsc foo.ts
Expected behavior
i expect this to build
Node.js version
20.18.3
TypeScript version
5.8.3
Elasticsearch client version
9.0.1
Elasticsearch server version
9.0.1
Operating system
Debian
Any other relevant environment information.
No response