mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
13 lines
250 B
TypeScript
13 lines
250 B
TypeScript
// Fake route handlers should not be transformed
|
|
export const GET = function ({ params }: any) {
|
|
call(params.foo)
|
|
}
|
|
|
|
export function POST({ params }: any) {
|
|
call(params.foo)
|
|
}
|
|
|
|
export async function DELETE({ params }: any) {
|
|
call(params.foo)
|
|
}
|