wasp/waspc/data/Lsp/templates/ts/query.fn.ts
Craig McIlwrath d12b403e7d
[waspls] improves LSP scaffolding (#1381)
* create directories when scaffolding, if needed

* refresh export cache after scaffolding

* better process for ensuring a blank line between old code and new scaffolded code
2023-08-10 10:01:20 -04:00

13 lines
355 B
TypeScript

import { {{upperDeclName}} } from '@wasp/queries/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?}}