Skip to content

The latest version v7.0.0-rc.1 does not build #803

Closed
@tvarghese

Description

@tvarghese

🐛 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions