In the renderer process of an electron application developed with Typescript, I have for instance:
import {remote} from 'electron';
const Fs = remote.require('fs');
where Fs is of type any
I would like Fs to be of type "module:fs" but I don't know how to achieve this in Typescript:
const Fs = remote.require('fs') // as module:fs ??
Any idea?