plantain-00/type-coverage

fast_glob_1.default is not a function with v2.17.1

BryanTabarez opened this issue · 2 comments

Version(if relevant): 2.17.1

Command(if relevant):

npx --package typescript --package type-coverage -c 'type-coverage -p src/tsconfig.app.json' --strict

->

npx: installed 29 in 2.666s
fast_glob_1.default is not a function

Using a previous version of type-coverage didn't work either

npx --package typescript --package type-coverage@2.16.3 -c 'type-coverage -p src/tsconfig.app.json --strict'
npx: installed 29 in 2.78s
fast_glob_1.default is not a function

I noticed that it works with a previous version of type-coverage but you also have to specify the version of type-coverage-core

npx --package typescript --package type-coverage-core@2.16.3 --package type-coverage@2.16.3 -c 'type-coverage -p src/tsconfig.app.json --strict'

v2.17.2 should fix this