I have trouble importing and using nano in my node application.
The js way (from the doc) is :
var nano = require('nano')('http://localhost:5984');
How do I do that with typescript ?
I tried
import * as Nano from "nano";
let nano = new Nano('http://localhost:5984');
But then I get : Nano is not an object.