报错:
This expression is not callable. Type ‘typeof import(“xxx“)‘ has no call signatures.ts(2349)
import marked
This expression is not callable.
Type 'typeof import("xxx")' has no call signatures.ts(2349)
原因:
import marked from 'marked'
导入方式的错误
修改:
import {marked} from 'marked'