Skip to content

Typescript compiler imports index.d.ts instead of index.js #59

@Vaidaz

Description

@Vaidaz

Hi!

Thanks for a great module! 😊

Since version 2.0.0 async-redis is no longer working with typescript. it seems like tsc is loading src/index.d.ts file instead of src/index.js.

Reproducible steps:

  1. create a new project
  2. create index.ts
  3. install async-redis
  4. write this line of code: import { createClient } from 'async-redis';
  5. compile index.ts: tsc index.ts

I am using typescript 4.3.2 version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions