summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/doc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-11-10 13:40:39 -0500
committerGitHub <noreply@github.com>2023-11-10 18:40:39 +0000
commitb78c7130e9986ce41284f33a0803ecdf6dd6affd (patch)
tree5d20148c1e7f449f9d6baa05fe6604aafc2a14b3 /cli/tests/testdata/doc
parent882c54d5c407affb26012d81fea67cccfc214bb7 (diff)
fix: improve `deno doc --lint` error messages (#21156)
This also updates deno_graph, which has the JSR change to use "exports". It's not yet useful atm, so I've made this PR a fix about the deno doc --lint error message improvements. I'll do a follow-up PR that adds exports to the deno.json
Diffstat (limited to 'cli/tests/testdata/doc')
-rw-r--r--cli/tests/testdata/doc/referenced_private_types_lint.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/testdata/doc/referenced_private_types_lint.out b/cli/tests/testdata/doc/referenced_private_types_lint.out
index 3b1273e22..54f225059 100644
--- a/cli/tests/testdata/doc/referenced_private_types_lint.out
+++ b/cli/tests/testdata/doc/referenced_private_types_lint.out
@@ -1,8 +1,8 @@
-Type 'MyClass' references type 'MyInterface' which is not exported from a root module.
-Missing JS documentation comment.
+Missing JSDoc comment.
at file:///[WILDCARD]/referenced_private_types.ts:5:1
-Missing JS documentation comment.
+Type 'MyClass.prototype.prop' references type 'MyInterface' which is not exported from a root module.
+Missing JSDoc comment.
at file:///[WILDCARD]/referenced_private_types.ts:6:3
-error: Found 3 documentation diagnostics.
+error: Found 3 documentation lint errors.