thrift-typescript
thrift-typescript copied to clipboard
Import error for "thrift" in generated Typescript with thrift 0.13.0, 0.12.0 is OK.
To reproduce this issue:
- Check out https://github.com/angelomelonas/thrift-spring-boot-vue-chat/tree/7f9423ff04e666096209f9aa86680bf5b37c483e
npm installandnpm run serve=> compiles and launches OK- Get the latest
thrift-typescript: edit package.json to have"@creditkarma/thrift-typescript": "^3.7.6"(everything still works)
Then:
- Upgrade the
thriftdependency: edit package.json to have"thrift": "0.13.0" npm installandnpm run serve
Expected: Still works Observed:
This dependency was not found:
* thrift in ./codegen/Message.ts, ./codegen/ChatService.ts and 5 others
To install it, you can run: npm install --save thrift