I'm creating an Electron app with Typescript support. I want to use RxJS library in the Renderer process with nodeIntegration set to false.
In the specific window I include the RxJS by
<script type="text/javascript" src="../node_modules/rxjs/bundles/rxjs.umd.min.js"></script>
In the Renderer Process I import specific observables and operators by
const { fromEvent } = (window as any).rxjs;//require('rxjs');
const { tap } = (window as any).rxjs.operators;//require("rxjs/operators");
Application works correctly but I have no support for types definitions from RxJS. How can I bring the support back? How to import correctly the *.d.ts for RxJS?