wasp/waspc/data/Lsp/templates/ts/action.fn.ts

13 lines
355 B
TypeScript
Raw Normal View History

import { {{upperDeclName}} } from '@wasp/actions/types'
type {{upperDeclName}}Input = void
type {{upperDeclName}}Output = void
{{#named?}}export {{/named?}}const {{name}}: {{upperDeclName}}<{{upperDeclName}}Input, {{upperDeclName}}Output> = async (args, context) => {
// Implementation goes here
}
{{#default?}}
export default {{name}}
{{/default?}}