Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NamedPort

import type { NamedPort } from "https://googleapis.deno.dev/v1/compute:v1.ts";

The named port. For example: <"http", 80>.

interface NamedPort {
name?: string;
port?: number;
}

§Properties

§
name?: string
[src]

The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.

§
port?: number
[src]

The port number, which can be a value between 1 and 65535.