Skip to content

Commit

Permalink
Remove expect-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 30, 2024
1 parent 1209729 commit 0bdf71f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/routes/basemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
})
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 0bdf71f

Please sign in to comment.