functional-typescript
functional-typescript copied to clipboard
Fix support for named function exports
index.ts
export const helloWorld = (name = 'World') => {
return `Hello ${name}!`
}
This example currently fails parsing with Unable to infer a main function export, but this use case should work.