Skip to content

Commit

Permalink
add typescript type to var
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousm4x committed Oct 1, 2023
1 parent 406f3cc commit f521e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/DeviceForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f521e6d

Please sign in to comment.