Skip to content

module.exports declarations are not generated #91

@ngryman

Description

@ngryman

Hi!

This does not get generated:

module.exports = function foo() { /* ... */ }

This does:

function foo() { /* ... */ }
module.exports = foo

I was expecting the first to work properly. It's not a super blocker, but declaring/exporting is quite a trendy pattern in the nodejs community.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions