creditkarma / thrift-typescript

Generate TypeScript from Thrift IDL files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import error for "thrift" in generated Typescript with thrift 0.13.0, 0.12.0 is OK.

mfickett opened this issue · comments

To reproduce this issue:

Then:

  • Upgrade the thrift dependency: edit package.json to have "thrift": "0.13.0"
  • npm install and npm 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