-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
This is probably a stupid question, but here goes. I am trying to load RedisStreamsIO from "kkrpc", but it fails as it can't find the type. Looking at the dist directory in node_modules/krpc I cannot find the adapters directory. The string "RedisStreamsIO" also cannot be found in any files in dist. I think I am missing an install step, but the docs don't seem define anything other than to install ioredis which has been done. What am I missing?
Found:
src/rpc2.ts:2:9 - error TS2305: Module '"kkrpc"' has no exported member 'RedisStreamsIO'.
2 import {RedisStreamsIO} from "kkrpc"
Expected:
Typescript types yumminess
This looks like a very cool package, I hope to be able to try it out.
I cloned the project and I was able to get the adapters in dist/ by adding "include": ["src/**/*.ts"], to packages/kkrpc/tsconfig.json, but the build is pretty complicated and I am not sure if that is the correct long term solution.