website: fix typescript warnings when running astro check
see https://github.com/withastro/astro/issues/10174#issuecomment-2026297879 for the why the tsconfig.json change
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import type { APIContext } from "astro"
|
||||
import services from "@/data/services-local.json"
|
||||
|
||||
export async function GET({ url }: APIContext) {
|
||||
export async function GET() {
|
||||
const response = new Response(
|
||||
JSON.stringify(
|
||||
services
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { APIContext } from "astro"
|
||||
import services from "@/data/services.json"
|
||||
|
||||
export async function GET({ url }: APIContext) {
|
||||
export async function GET() {
|
||||
const response = new Response(
|
||||
JSON.stringify(
|
||||
services
|
||||
|
||||
Reference in New Issue
Block a user