mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-15 13:22:46 +00:00
12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
import * as defaultGateway from 'default-gateway';
|
|
|
|
defaultGateway.v4().then(result => {
|
|
result; // $ExpectType Gateway
|
|
});
|
|
defaultGateway.v6().then(result => {
|
|
result; // $ExpectType Gateway
|
|
});
|
|
|
|
defaultGateway.v4.sync(); // $ExpectType Gateway
|
|
defaultGateway.v6.sync(); // $ExpectType Gateway
|