From faba07d2dbdfd968666de0d5b279c7204f731351 Mon Sep 17 00:00:00 2001 From: MiloBot Date: Thu, 5 Feb 2026 17:44:18 +0000 Subject: [PATCH] fix(types): add missing port property to StartOptions interface The port configuration property is defined in lib/API/schema.json but was missing from the TypeScript type definitions in types/index.d.ts. This adds the port property to the StartOptions interface to match the runtime behavior documented in the schema. Fixes #6045 --- types/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index 77280f5ae..8c423bc5f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -554,6 +554,10 @@ export interface StartOptions { write?: any; source_map_support?: any; disable_source_map_support?: any; + /** + * Shortcut to inject a PORT environment variable. + */ + port?: number; /** * The environment variables to pass on to the process. */