There seems to bee a compatibility issue with the typescript definitions of semantic-ui-react 0.81.1 and typescript 2.9.1
import {Button, Icon} from 'semantic-ui-react'No errors like before
[ts] Module '"c:/path_to_project_folder/node_modules/semantic-ui-react/dist/commonjs/index"' has no exported member 'Icon'.
Typescript Errors
Semantic-UI-React: 0.81.1
Typescript: 2.9.1
VSCode: 1.24.0
I found this related issue on the typescript git:
https://github.com/Microsoft/vscode/issues/51343
馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
This was fixed in 0.81.1 (#2856, #2857). Will check again.
Oh you're right. I forgot to restart vscode after upgrading semantic from 0.80.1 to 0.81.1 :see_no_evil:
Sorry for wasting your time on that.
Most helpful comment
Oh you're right. I forgot to restart vscode after upgrading semantic from 0.80.1 to 0.81.1 :see_no_evil:
Sorry for wasting your time on that.