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

5 lines
74 B
TypeScript

export default defineEventHandler(() => ({
foo: 'bar',
baz: 'qux'
}))