export { default as dayjs } from "https://esm.sh/dayjs";
导出之后在其他地方直接使用 import { dayjs } from ‘deps.ts’ 引入。
之前版本这样引用不会报错,升级deno后,会抛出个错误
error: TS2305 [ERROR]: Module ‘“https://cdn.esm.sh/v54/dayjs@1.10.7/index.d.ts”’ has no exported member ‘default’.
export { default as dayjs } from “https://esm.sh/dayjs”;
不知道应该如何修改消除错误?