Skip to content

ts: typesWithBodyKey no longer exists #2835

Closed as not planned
Closed as not planned
@bkuster

Description

@bkuster

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions