Fix TypeScript return type in import-tuxedo-stops.ts
Deploy to route.crispygoat.com / deploy (push) Has been cancelled

Add missing 'locations' property to loadStops() return type.
This commit is contained in:
Tyler
2026-06-10 12:49:16 -06:00
parent fb23c21ad9
commit a53516bfe6
+1 -1
View File
@@ -76,7 +76,7 @@ function slugify(s: string): string {
return out.replace(/^-+|-+$/g, ""); return out.replace(/^-+|-+$/g, "");
} }
async function loadStops(xlsxPath: string): Promise<{ stops: ParsedStop[]; skipped: Record<string, number>; dirCount: number }> { async function loadStops(xlsxPath: string): Promise<{ stops: ParsedStop[]; skipped: Record<string, number>; dirCount: number; locations: ParsedLocation[] }> {
const wb = new ExcelJS.Workbook(); const wb = new ExcelJS.Workbook();
await wb.xlsx.readFile(xlsxPath); await wb.xlsx.readFile(xlsxPath);