TypeScript - Error: Debug Failure. False expression:

2

I'm trying to create a Node.js module definition. I have the file poolredis.ts , but when I add the line:

import { RedisClient } from 'redis';

The TypeScript compiler gives me the error:

  

Error: Debug Failure. False expression:

How can I fix it?

    
asked by anonymous 04.01.2017 / 19:40

1 answer

0
npm install -s @types/redis

I think that's all this.

    
10.01.2017 / 17:05