Skip to content

对于js文件会使用require引入 #65

@JOU-amjs

Description

@JOU-amjs

我的项目是中途换到ts的,所以项目里混合了js和ts,更新到新版本后,对于js导出的controller或service或用import xx = require(xxx)引入,但我的js代码里也统一使用了export default,导致获取引入的对象是一个{ default: [controller|service] }报错了,这个有办法配置解决吗?

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