Support export of arrow function in service
jim-lub opened this issue · comments
Jim commented
Exporting an arrow function in a service throws a Samen error. We should support this functionality.
import { createService } from "@samen/server"
const aad = async (): Promise<void> => {}
export const aadService = createService({
aad,
})
S145: ParserModel not implemented yet: `async (): Promise<void> => { }` (kind:214)
Kamil Afsar commented
With the release of v0.10.0 this should be fixed. Closing this ticket. Please reopen if you still encounter issues.