The current glob library used in the test code has been updated to use promise instead of callback starting from version v9.0.0. But example code are using v7.x.x. It is little bit old and may confusing new developer.
And, the glob 9+ supports TypeScript, there is no need to install TypeDefinition dependencies. So, we can remove @types/glob.
Changes
glob
version@types/glob
Why
The current
glob
library used in the test code has been updated to usepromise
instead ofcallback
starting from versionv9.0.0
. But example code are usingv7.x.x
. It is little bit old and may confusing new developer.And, the glob 9+ supports TypeScript, there is no need to install TypeDefinition dependencies. So, we can remove
@types/glob
.Please see: https://github.com/isaacs/node-glob/blob/v9/changelog.md#90
Others
refs: https://github.com/microsoft/vscode-docs/pull/7125
Thank you :)