Skip to content

Typescript error when building with microbundle #85

@wh5938316

Description

@wh5938316

What version of this package are you using?
0.1.0
What operating system, Node.js, and npm version?
macos, node v16.9.1, npm v8.3.0
What happened?
When i build my module with microbundle, an error throwed:
semantic error TS4023: Exported variable 'useFont' has or is using name 'useStoreType' from external module "teaful" but cannot be named.
What did you expect to happen?
This looks like causing by --declaration
Maybe @babel/helper-split-export-declaration
Are you willing to submit a pull request to fix this bug?
I have no idea to solve this problem for the time being

my source code:
teaful-debug.zip

Metadata

Metadata

Assignees

No one assigned

    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