Skip to content

Types issue with Glob and Minimatch #264

@cbartondock

Description

@cbartondock

When I run rimraf dist I see:

node_modules/@types/glob/index.d.ts:29:42 - error TS2694: Namespace 

'"D:/Projects/Development/steam-rom-manager/node_modules/minimatch/dist/cjs/index"' 

has no exported member 'IOptions'. 

29     interface IOptions extends minimatch.IOptions {                                                                                                                                                                                                                                                                                                                     

node_modules/@types/glob/index.d.ts:74:30 - error TS2724: 

'"D:/Projects/Development/steam-rom-manager/node_modules/minimatch/dist/cjs/index"' 

has no exported member named 'IMinimatch'. Did you mean 'Minimatch'? 

74         minimatch: minimatch.IMinimatch;                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Found 2 errors in the same file, starting at: node_modules/@types/glob/index.d.ts:29

Error is also noted here, and the solution is to not run rimraf:
https://stackoverflow.com/questions/75890950/node-modules-minimatch-dist-cjs-index-has-no-exported-member-ioptions

Minimatch, glob, and @types/minimatch and @types/glob are all at their latest version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions