Skip to content

Commit 5e2f8a9

Browse files
committed
Add @remarks to StandardTags.ts comments
1 parent 8e9d94b commit 5e2f8a9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tsdoc/src/details/StandardTags.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export class StandardTags {
1616
* It is intended to be used by third-party developers eventually, but has not
1717
* yet been released. The tooling may trim the declaration from a public release.
1818
*
19+
* @remarks
1920
* Example implementations: API Extractor
2021
*/
2122
public static readonly alpha: TSDocTagDefinition = StandardTags._defineTag({
@@ -33,6 +34,7 @@ export class StandardTags {
3334
* change without notice. The tooling may trim the declaration from a public release,
3435
* but may include it in a developer preview release.
3536
*
37+
* @remarks
3638
* Example implementations: API Extractor
3739
*
3840
* Synonyms: `@experimental`
@@ -136,6 +138,7 @@ export class StandardTags {
136138
* Suggested meaning: Same semantics as `@beta`, but used by tools that don't support
137139
* an `@alpha` release stage.
138140
*
141+
* @remarks
139142
* Example implementations: Angular API documenter
140143
*
141144
* Synonyms: `@beta`
@@ -154,6 +157,7 @@ export class StandardTags {
154157
* to the other item, which may be an unrelated class, or even an import from a
155158
* separate NPM package.
156159
*
160+
* @remarks
157161
* What gets copied
158162
*
159163
* The `@inheritDoc` tag does not copy the entire comment body. Only the following
@@ -183,6 +187,7 @@ export class StandardTags {
183187
* In some implementations, certain designated packages may be allowed to consume
184188
* internal API items, e.g. because the packages are components of the same product.
185189
*
190+
* @remarks
186191
* Example implementations: API Extractor
187192
*/
188193
public static readonly internal: TSDocTagDefinition = StandardTags._defineTag({
@@ -197,6 +202,7 @@ export class StandardTags {
197202
* The `{@label}` inline tag is used to label a declaration, so that it can be referenced
198203
* using a selector in the TSDoc declaration reference notation.
199204
*
205+
* @remarks
200206
* TODO: The `{@label}` notation is still being standardized. See this issue:
201207
* https://github.com/microsoft/tsdoc/issues/9
202208
*/
@@ -213,6 +219,7 @@ export class StandardTags {
213219
* documentation system or general internet URLs. In particular, it supports
214220
* expressions for referencing API items.
215221
*
222+
* @remarks
216223
* TODO: The `{@link}` notation is still being standardized. See this issue:
217224
* https://github.com/microsoft/tsdoc/issues/9
218225
*/
@@ -231,6 +238,7 @@ export class StandardTags {
231238
* is overriding (i.e. redefining) the definition inherited from the base class.
232239
* The base class definition would normally be marked as `virtual`.
233240
*
241+
* @remarks
234242
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
235243
* modifiers are consistently applied, but this is not required by the TSDoc standard.
236244
*/
@@ -289,6 +297,7 @@ export class StandardTags {
289297
* It has been officially released to third-party developers, and its signature is
290298
* guaranteed to be stable (e.g. following Semantic Versioning rules).
291299
*
300+
* @remarks
292301
* Example implementations: API Extractor
293302
*/
294303
public static readonly public: TSDocTagDefinition = StandardTags._defineTag({
@@ -306,6 +315,7 @@ export class StandardTags {
306315
* the property cannot be assigned; in this situation, the `@readonly` modifier can be
307316
* added so that the property is shown as read-only in the documentation.
308317
*
318+
* @remarks
309319
* Example implementations: API Extractor
310320
*/
311321
public static readonly readonly: TSDocTagDefinition = StandardTags._defineTag({
@@ -349,6 +359,7 @@ export class StandardTags {
349359
* For a member function or property, indicates that subclasses must not override
350360
* (i.e. redefine) the member.
351361
*
362+
* @remarks
352363
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
353364
* modifiers are consistently applied, but this is not required by the TSDoc standard.
354365
*/
@@ -463,6 +474,7 @@ export class StandardTags {
463474
* For a member function or property, explicitly indicates that subclasses may override
464475
* (i.e. redefine) the member.
465476
*
477+
* @remarks
466478
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
467479
* modifiers are consistently applied, but this is not required by the TSDoc standard.
468480
*/

0 commit comments

Comments
 (0)