Skip to content

"minimatch/dist/commonjs/index"' has no exported member 'IOptions' #2694

@Asken

Description

@Asken

Expected Behavior

npx typedoc --entryPointStrategy expand src/ to generate documentation

Actual Behavior

node_modules/@types/glob/index.d.ts:29:42 - error TS2694: Namespace '"D:/Development/no-code-application/node_modules/minimatch/dist/commonjs/index"' has no exported member 'IOptions'.

29     interface IOptions extends minimatch.IOptions {
                                            ~~~~~~~~

node_modules/@types/glob/index.d.ts:74:30 - error TS2724: '"D:/Development/no-code-application/node_modules/minimatch/dist/commonjs/index"' has no exported member named 'IMinimatch'. Did you mean 'Minimatch'?

74         minimatch: minimatch.IMinimatch;

Steps to reproduce the bug

package.json

{
  "name": "application",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "dev": "concurrently \"npm run rollup\" \"npm run start:server\"",
    "dev-all": "concurrently \"npm run rollup\" \"npm run start:server\" \"npm run watch-docs\"",
    "build": "rollup --config rollup.config.prod.mjs",
    "test": "mocha",
    "rollup": "rollup --config rollup.config.dev.mjs --watch",
    "start:server": "node server.js",
    "watch-docs": "typedoc --watch --preserveWatchOutput --plugin typedoc-plugin-rename-defaults --entryPointStrategy expand src/",
    "build-docs": "typedoc --plugin typedoc-plugin-rename-defaults --entryPointStrategy expand src/",
    "lint": "eslint src",
    "lint-errors": "eslint src --quiet"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@rollup/plugin-eslint": "^9.0.5",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^11.1.6",
    "@typescript-eslint/eslint-plugin": "^8.3.0",
    "@typescript-eslint/parser": "^8.3.0",
    "concurrently": "^8.2.2",
    "eslint": "^9.9.1",
    "express": "^4.19.2",
    "http-server": "^14.1.1",
    "mocha": "^10.7.3",
    "rollup": "^4.21.2",
    "rollup-plugin-copy": "^3.5.0",
    "rollup-plugin-sass": "^1.13.2",
    "rollup-plugin-scss": "^4.0.0",
    "tslib": "^2.7.0",
    "typedoc": "^0.26.6",
    "typedoc-plugin-rename-defaults": "^0.7.1",
    "typescript": "^5.5.4"
  },
  "dependencies": {
    "body-parser": "^1.20.2",
    "dotenv": "^16.4.5",
    "express-session": "^1.18.0",
    "less": "^4.2.0",
    "monaco-editor": "^0.51.0",
    "passport": "^0.7.0",
    "passport-local": "^1.0.0",
    "passport-oauth2": "^1.8.0",
    "pg": "^8.12.0",
    "router": "^1.3.8",
    "sass": "^1.77.8"
  }
}

Environment

  • Typedoc version: 0.26.6
  • TypeScript version: 5.5.4
  • Node.js version: 20.15.0
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    no bugThis is expected behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions