【发布时间】:2022-02-07 04:50:56
【问题描述】:
我尝试安装 denon 来运行我的 deno 脚本
我从他们的docs 中使用了以下命令,
deno install -qAf --unstable https://deno.land/x/denon/denon.ts
命令失败了,
error: TS2345 [ERROR]: Argument of type '"any" | "access" | "create" | "modify" | "remove" | "other"' is not assignable to parameter of type 'FileAction'.
Type '"other"' is not assignable to type 'FileAction'.
this.#changes[path].push(kind);
~~~~
at https://deno.land/x/denon@2.4.10/src/watcher.ts:150:38
附:如果这是预期的行为,denon 有什么替代方法吗?
【问题讨论】: