hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

Incorrect types for hello().login()

Open dan-silver opened this issue 8 years ago • 2 comments

Is this a known issue with the types for .login() not returning a promise? The code works, just TypeScript is throwing a warning.

capture

Thanks!

dan-silver avatar Aug 08 '17 18:08 dan-silver

Please have a look at the issue for maintaining TS #46

MrSwitch avatar Aug 15 '17 17:08 MrSwitch

@dan-silver I issued a PR's a couple of weeks ago that just got merged, hopefully that helps your case https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23614

baywet avatar Feb 27 '18 21:02 baywet