import * as dayjs from 'dayjs'TypeError: dayjs__namespace is not a function
Cannot call a namespace ('dayjs')再试一次
const dayjs = require('dayjs')success
ReferenceError: require is not defined
我该怎么做?
发布于 2022-08-04 05:46:55
我在我的打字稿项目中使用dayjs,如下所示
import dayjs from 'dayjs';https://stackoverflow.com/questions/72568402
复制相似问题