Skip to content

Commit fec199c

Browse files
authored
Merge pull request #7 from ryanocf/master
fix: getProviderAsync return type
2 parents af04eeb + 5a50030 commit fec199c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ip2proxy.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export class IP2Proxy {
415415
* @param myIP The IP address to query.
416416
* @returns The promise of the name of the VPN provider.
417417
*/
418-
getProviderAsync(myIP: string): Provider<string>;
418+
getProviderAsync(myIP: string): Promise<string>;
419419
/**
420420
* Returns all fields.
421421
*

0 commit comments

Comments
 (0)