Skip to content

Commit 7fc5938

Browse files
committed
Convert packageDescription syntax to @packagedocumentation syntax
1 parent a56d271 commit 7fc5938

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

apps/api-extractor/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
* API Extractor helps you build better TypeScript library packages.
66
* It helps with validation, documentation, and reviewing of the exported API
77
* for a TypeScript library.
8+
*
9+
* @packagedocumentation
810
*/
9-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
1011

1112
export { default as ExternalApiHelper } from './ExternalApiHelper';
1213

apps/api-extractor/testInputs/example2/src/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33

44
/**
55
* Here is some documentation for example2.
6-
* @remarks These are additional remarks that may be too long for the summary.
6+
*
7+
* @remarks
8+
* These are additional remarks that may be too long for the summary.
79
* They should appear in the remarks of the json generated file for this package.
10+
*
11+
* @packagedocumentation
812
*/
9-
declare const packageDescription: void;
1013

1114
export {
1215
TestMissingCommentStar,

apps/api-extractor/testInputs/example3/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
/**
55
* This example folder is used to test the functionality of DocItemLoader and API reference resolution.
6+
*
7+
* @packagedocumentation
68
*/
7-
declare const packageDescription: void;
89

910
export {
1011
inheritLocalOptionOne,

libraries/node-core-library/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
/**
55
* Core libraries that every NodeJS toolchain project should use.
6+
*
7+
* @packagedocumentation
68
*/
7-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
89

910
export { FileDiffTest } from './FileDiffTest';
1011
export {

libraries/ts-command-line/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
/**
55
* An object-oriented command-line parser for TypeScript projects.
6+
*
7+
* @packagedocumentation
68
*/
7-
declare const packageDescription: void; // tslint:disable-line:no-unused-variable
89

910
export {
1011
default as CommandLineAction,

0 commit comments

Comments
 (0)