Nuxt/test/fixtures/basic/server/api/counter.ts
2022-03-08 19:03:21 +01:00

4 lines
61 B
TypeScript

let counter = 0
export default () => ({ count: counter++ })