moaxaca / async-redis

First class async & promise support for redis.
Other
168 stars 21 forks source link

1.1.3+ #12

Closed Wesseldr closed 3 years ago

Wesseldr commented 5 years ago

From version 1.1.3 on using the module with typescript gives an error:

server.ts(13,29): error TS2306: File ./node_modules/async-redis/index.d.ts' is not a module.

Line 13 reads: import * as asyncRedis from 'async-redis';

version 1.1.2 and below works fine.

Hope this helps.

Regards, Wessel

moaxaca commented 5 years ago

@Wesseldr I will look into this.

samstarling commented 5 years ago

I also have this problem with anything after 1.1.2. @Wesseldr: Did you ever find a solution?