Nuxt/test/fixtures/basic/server/api/hey/index.post.ts

4 lines
73 B
TypeScript

export default defineEventHandler(() => ({
method: 'post' as const
}))