Open
Description
Version: Deno 2.0.6
I used a lodash-es package when building a jsr plugin, but this package is full of js files, and an error was reported when publishing
// lodash.ts
export * from "lodash-es";
// main.ts
import { isArray } from "./lodash.ts";
export function test() {
console.log(isArray([]));
}
By the way, I set "nodeModulesDir": "manual" in deno.json, so the editor did not explode, but it would report an error as shown above;
But I set "nodeModulesDir": "auto", and the editor would report an error as shown below:
But this is OKI looked at lodash-es and its package.json does not define types. I wonder if this is the problem?
Can deno support such problems in the future?