diff --git a/frontend/src/lib/components/DeviceForm.svelte b/frontend/src/lib/components/DeviceForm.svelte index 18484ef1..f64e7aef 100644 --- a/frontend/src/lib/components/DeviceForm.svelte +++ b/frontend/src/lib/components/DeviceForm.svelte @@ -23,7 +23,7 @@ // create/update all ports let portIds: string[] = []; await Promise.all( - device.expand.ports.map(async (port) => { + device.expand.ports.map(async (port: Port) => { if (port.id === undefined) { const data = await createPort(port as Port); if (data === undefined) return;