Skip to content

Is it possible to suppress warnings from node_modules files? #2611

@crystalfp

Description

@crystalfp

Search terms

node_modules, warning

Question

Running typedoc on my application generates plenty of warnings from modules under node_modules on which I have no control. For example:

./node_modules/@types/node/events.d.ts:512:11 - [warning] Encountered an unknown block tag @since

512             * @since v0.11.2

./node_modules/electron/electron.d.ts:3883:7 - [warning] Encountered an unknown block tag @platform

3883         * @platform win32,linux

These modules are not in the list of files passed to typedoc, but are indirectly loaded from input statements.
This huge list of warnings obscures genuine warnings from my code.
Thanks for your help!
mario

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about functionality

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions