We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed54d9f commit 85b29d7Copy full SHA for 85b29d7
tests/cases/fourslash/jsdocDeprecated_suggestion_skipJSDoc.ts
@@ -10,5 +10,19 @@
10
////function imDeprecated() {}
11
////[|imDeprecated|]()
12
13
-const [range] = test.ranges();
14
-verify.getSuggestionDiagnostics([]);
+/////**
+//// * {@see imDeprecated}
15
+//// * @deprecated
16
+//// */
17
+////function imDeprecated2() {}
18
+////[|imDeprecated2|]()
19
+
20
+const [, range] = test.ranges();
21
+verify.getSuggestionDiagnostics([
22
+ {
23
+ "code": 6387,
24
+ "message": "The signature '(): void' of 'imDeprecated2' is deprecated.",
25
+ "reportsDeprecated": true,
26
+ "range": range
27
+ },
28
+]);
0 commit comments