import { DynamicDNS, Service } from 'google-ddns'; const ddns = new DynamicDNS({ hostname: 'subdomain.example.com', username: 'foo', password: 'bar', }); ddns.sync(); // $ExpectType Promise ddns.getCurrentIP(); // $ExpectType Promise ddns.getPublicIP(); // $ExpectType Promise const service = new Service({ hostname: 'subdomain.example.com', username: 'foo', password: 'bar', }); service.start();