Nuxt/test/fixtures/basic/server/api/counter.ts

4 lines
61 B
TypeScript
Raw Normal View History

2022-03-08 18:03:21 +00:00
let counter = 0
export default () => ({ count: counter++ })