2

I'm having difficulty importing the RxJs library in my full stack Kotlin/JS project. I put the following in my build.gradle.kts file in the frontendMain section:

implementation(npm("@reactivex/rxjs", "6.6.7", true))

But when I try to add a declaration in a class:

val mySub = Subject<String>()

IntelliJ isn't able to find the import to use. I'm new at this and am obviously missing something simple. Thanks for any help.

Michael220
  • 193
  • 12

0 Answers0