Closed tomjohnhall closed 3 years ago
cc @MartinCupela
Hi @tomjohnhall, I could not reproduce the problem on my machine with getstream@7.2.11 and react-activity-feed@1.2.1. I used to get these type errors when I let my Webstorm do funny imports. Could you please attach the code, that would show the StreamApp component import? Just trying to start somewhere.
How about TS version?
@MartinCupela @ferhatelmas It was a typescript version issue in the end. I thought I'd already upgraded but obviously my yarn upgrade
wasn't enough, I had typescript at 3.9.7
and I'm now at 4.4.3
and the import works.
I also had to install @typescript-eslint/eslint-plugin
and @typescript-eslint/parser
at ^4.1.1
for anyone who comes across someting similar in future.
Thanks for your help.
Build time error when importing
{ StreamApp }
from'react-activity-feed'
in a react project withgetstream@7.2.11
Any idea how to get around this?