Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SteveALee opened this issue Dec 31, 2024 · 0 comments · Fixed by #14811
Closed

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

SteveALee opened this issue Dec 31, 2024 · 0 comments · Fixed by #14811

Comments

@SteveALee
Copy link
Contributor

SteveALee commented Dec 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants