dep
dep copied to clipboard
Uncaught TypeError: Type 'boolean | RegExp' is not assignable to type 'RegExp'
When running any dep command, I get this error:
Check https://deno.land/x/[email protected]/lib/cli.ts
error: Uncaught TypeError: TS2322 [ERROR]: Type 'boolean | RegExp' is not assignable to type 'RegExp'.
Type 'boolean' is not assignable to type 'RegExp'.
const regex: RegExp = minimatch.makeRe(pattern.trim(), {dot: true, nocase: true})
~~~~~
at https://deno.land/x/[email protected]/lib/utils/filter.ts:124:10
same here. any work around?