mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
177 B
TypeScript
14 lines
177 B
TypeScript
import devIp = require("dev-ip");
|
|
|
|
const ips = devIp();
|
|
|
|
function main() {
|
|
if (typeof ips === "boolean") {
|
|
return;
|
|
}
|
|
|
|
ips.map(ip => `ip: ${ip}`);
|
|
}
|
|
|
|
main();
|