Vue 3 + Typescript doesn't work with RxJs 7
Version
3.2.10
Reproduction link
Steps to reproduce
vue create new-app with Typescript option npm install rxjs (latest 7.x)
in App.vue, set the script section to language ts and add an import : import { Observable } from 'rxjs'
What is expected?
It should work
What is actually happening?
TS complains about not having type definitions for rxjs
Adding 'rxjs' to the types section in tsconfig doesn't work. Adding 'declare module rxjs' doesn't work either Rxjs v 6.x.x works fine with Vue3 + Typescript
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
This is related to rxjs not vue...