We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06a4fd6 commit 94307b9Copy full SHA for 94307b9
app/api/get-schema/[name]/route.ts
@@ -1,3 +1,9 @@
1
+/* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
+/* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
+/* eslint-disable @typescript-eslint/no-unsafe-call */
4
+// Next.js route handlers have incompatible types between ESLint and the Next.js build system
5
+// These directives are necessary to make the route handler work with both
6
+
7
import { NextResponse } from "next/server";
8
import fs from "fs/promises";
9
import path from "path";
0 commit comments