plantain-00 / type-coverage

A CLI tool to check type coverage for typescript code
MIT License
1.25k stars 44 forks source link

fast_glob_1.default is not a function with v2.17.1 #90

Closed BryanTabarez closed 3 years ago

BryanTabarez commented 3 years ago

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
BryanTabarez commented 3 years ago

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'
plantain-00 commented 3 years ago

v2.17.2 should fix this