Closed
Description
🐛 Bug Report
The latest version v7.0.0-rc.1 does not build
To Reproduce
Steps to reproduce the behavior:
Include the module by running the following command
npm install @elastic/elasticsearch --save
Expected behavior
Should build without any errors
However i get the following error
`> tsc
node_modules/@elastic/elasticsearch/lib/Connection.d.ts:77:3 - error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.
77 [inspect.custom](object: any, options: InspectOptions): string;
~~~~~~~~~~~~~~~~
`
Your Environment
- node version: 8
- @elastic/elasticsearch version: >=7.0.0
- os: Mac
- typescript: 3.4.1
- tslint: 5.14.0
Other observations
Including @types/elasticsearch would solve the issue however the types support is only for version 5.0.23
Metadata
Metadata
Assignees
Labels
No labels