diff --git a/api/routes/basemap.ts b/api/routes/basemap.ts index e73105a23..383e6dd1c 100644 --- a/api/routes/basemap.ts +++ b/api/routes/basemap.ts @@ -180,7 +180,6 @@ export default async function router(schema: Schema, config: Config) { return { ...basemap, bounds: basemap.bounds ? bbox(basemap.bounds) : undefined, - // @ts-expect-error Need to type this to point center: basemap.center ? basemap.center.coordinates : undefined, }; }) @@ -243,7 +242,6 @@ export default async function router(schema: Schema, config: Config) { return res.json({ ...basemap, bounds: basemap.bounds ? bbox(basemap.bounds) : undefined, - // @ts-expect-error Need to type this to point center: basemap.center ? basemap.center.coordinates : undefined, }); } catch (err) { @@ -301,7 +299,6 @@ export default async function router(schema: Schema, config: Config) { return res.json({ ...basemap, bounds: basemap.bounds ? bbox(basemap.bounds) : undefined, - // @ts-expect-error Need to type this to point center: basemap.center ? basemap.center.coordinates : undefined, }); } catch (err) {