Skip to content

Questions in V4 ? #1754

Open
Open
@FeSeason

Description

@FeSeason

Environment:

  • Node.js Version: 12.14.0
  • Redis Server Version:
  • Node Redis Version: 4.0.0
  • Platform: Mac os

Question 1

Use typescript ,The type of the instance was not found ?

const client: any = redis.createClient({ ... })

Question 2

tsconfig target is set es5 , use tsc compile.
However, there is a #private definition in the type definition that is not available for es5

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions