Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

TypeError: (0 , _library.libraryFunc) is not a function #53

@AtofStryker

Description

@AtofStryker

Hey all,

is there support for default functions?

example:

//@mypackage/packageA
export default function(){
return {}
}

//@mypackage/packageB

import myFunc from '@mypackage/packageA'

//error happens here
myFunc()

Any idea why this is happening. It looks like vue-docgen-api is having issues parsing default functions? I can get a codepen together if there is a place I can drop vue-dcogen-api to reproduce. Please let me know if I can help or fix the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions