style: change OverpassResult and OverpassElement from type to interface
Some checks failed
TrafficCue Server CI / check (push) Failing after 15s

This commit is contained in:
Cfp
2025-06-22 17:57:11 +02:00
parent 55a082b7eb
commit eb9c92e716

View File

@ -4,11 +4,11 @@ import { google } from "@ai-sdk/google";
import { stream } from "hono/streaming";
import z from "zod";
export type OverpassResult = {
export interface OverpassResult {
elements: OverpassElement[];
};
export type OverpassElement = {
export interface OverpassElement {
type: "node" | "way" | "relation";
id: number;
tags: Record<string, string>;