diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-01 08:54:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 13:54:44 +0100 |
commit | f1df22ce0ad495264497a4a1b17b5236225bd64c (patch) | |
tree | 19cf034a307924183f2a02345cbdb27d30c34b12 /cli/tests | |
parent | 841f215fd4eb2211e30b09e8d01596777c868050 (diff) |
feat(doc): improve non-exported diagnostic (#21033)
This will now catch way more scenarios.
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/testdata/doc/referenced_private_types_lint.out | 4 | ||||
-rw-r--r-- | cli/tests/testdata/doc/use_import_map.out | 2 |
2 files changed, 2 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 bb8c599f4..3b1273e22 100644 --- a/cli/tests/testdata/doc/referenced_private_types_lint.out +++ b/cli/tests/testdata/doc/referenced_private_types_lint.out @@ -1,6 +1,4 @@ -Type is not exported, but referenced by an exported type. - at file:///[WILDCARD]/referenced_private_types.ts:1:1 - +Type 'MyClass' references type 'MyInterface' which is not exported from a root module. Missing JS documentation comment. at file:///[WILDCARD]/referenced_private_types.ts:5:1 diff --git a/cli/tests/testdata/doc/use_import_map.out b/cli/tests/testdata/doc/use_import_map.out index c27a313f4..9509d5bfe 100644 --- a/cli/tests/testdata/doc/use_import_map.out +++ b/cli/tests/testdata/doc/use_import_map.out @@ -1,5 +1,5 @@ Defined in [WILDCARD]/doc/module/fun.js:2:1 -function fun(_a, _b) +function fun(_a, _b): void This is some documentation |