Skip to content

$inspect.trace() typings discagree with docs #14869

Closed
@SteveALee

Description

@SteveALee

Describe the bug

The $inspect.trace() docs say the first argument is optional yet the typings says it's required.

The docs could be expanded a little. For example, I got to Error entries in the trace yet no errors were thrown

Reproduction

Any code that uses $inspect.trace() iewed in VSCode will get a red squiqqle and

Expected 1 arguments, but got 0.ts(2554)

Logs

No response

System Info

Not relevant

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions