From f6afe90a6302cb0b9a8b8c82d7d6f9c2d8ff6a62 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Tue, 15 Nov 2016 22:48:58 +0100 Subject: [PATCH] improve README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b4f43b..0cf3540 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ import * as dnsly from 'dnsly' let myDnsly = new dnsly.Dnsly('google') // uses Google DNS Servers e.g 8.8.8.8 myDnsly.getRecord('example.com','AAAA') // returns promise - .then(record: dnsly.I_AAAA => { // AAAA record for google.com, the I_AAAA will give you proper typings for the record return type + .then((record: dnsly.I_AAAA) => { // AAAA record for google.com, the I_AAAA will give you proper typings for the record return type // do something }) ```