dep icon indicating copy to clipboard operation
dep copied to clipboard

install failed with deno 1.8.3

Open boostbob opened this issue 4 years ago • 0 comments

env:

Desktop 🍎  deno --version
deno 1.8.3 (release, x86_64-apple-darwin)
v8 9.0.257.3
typescript 4.2.2

command:

deno install -A --unstable https://cdn.depjs.com/dep/bin/dep.ts

error:

error: 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://cdn.depjs.com/[email protected]/lib/utils/filter.ts:124:10

boostbob avatar Apr 08 '21 14:04 boostbob