22 * Degenerate comment
33 star missing here
44 * end of comment
5+ * @public
56 */
67export enum TestMissingCommentStar {
78}
89
910/**
1011 * {@inheritdoc es6-collections:ForEachable }
12+ * @public
1113 */
1214export interface IExternalPackageLookupInheritDoc {
1315}
1416
1517/**
1618 * {@inheritdoc @microsoft/sp-core-library:DisplayMode }
19+ * @public
1720 */
1821export enum inheritDisplayMode {
1922}
2023
2124/**
2225 * {@inheritdoc @microsoft/sp-core-library:Display }
26+ * @public
2327 */
2428export enum packageLocatedButExportNotFound {
2529}
@@ -31,6 +35,7 @@ export enum packageLocatedButExportNotFound {
3135 * It will not appear in the output json files because of the error.
3236 *
3337 * {@inheritdoc @microsoft/sp-core-library:DisplayMode }
38+ * @public
3439 */
3540// (Error #1)
3641// Error: Cannot provide summary in AEDoc if @inheritdoc tag is given
@@ -41,6 +46,8 @@ export enum inheritDisplayModeError {
4146/**
4247 * {@inheritdoc @microsoft/sp-core-library:DisplayModeDeprecated }
4348 *
49+ * @public
50+ *
4451 */
4552export enum inheritDisplayModeErrorDeprecated {
4653
@@ -50,6 +57,7 @@ export enum inheritDisplayModeErrorDeprecated {
5057 * {@inheritdoc @microsoft/sp-core-library:DisplayModeDeprecated }
5158 * @deprecated - deprecated message must be present if the inherited Api item
5259 * is deprecated. If not error is reported.
60+ * @public
5361 */
5462export enum inheritDisplayModeNoErrorDeprecated {
5563}
@@ -58,6 +66,7 @@ export enum inheritDisplayModeNoErrorDeprecated {
5866 * This function has incomplete type information on the return value and should not
5967 * be printed to the API file, instead a warning comment should be present
6068 * at the bottom of the API file.
69+ * @public
6170 */
6271export function functionWithIncompleteReturnType ( param1 : string , param2 : string ) {
6372 return false ;
@@ -67,6 +76,7 @@ export function functionWithIncompleteReturnType(param1: string, param2: string)
6776 * This function has incomplete type information on a parameter and should not
6877 * be printed to the API file, instead a warning comment should be present at the
6978 * bottom of the API file.
79+ * @public
7080 */
7181export function functionWithIncompleteParameterType ( param1 , param2 : string ) : boolean {
7282 return false ;
@@ -78,8 +88,8 @@ export function functionWithIncompleteParameterType(param1, param2: string): boo
7888 * correctly. It can contain a {@link https://bing.com/ | bing home}. This block is entirely
7989 * valid and a correct documentation object should be built for this ApiItem.
8090 *
81- * @public
8291 * @remarks Mock class for testing JsDoc parser
92+ * @public
8393 */
8494export default class MyDocumentedClass {
8595
@@ -213,6 +223,7 @@ export default class MyDocumentedClass {
213223 * comment should be printed about this class declaration. The constructor
214224 * will not appear in the json file because the type information is
215225 * incomplete.
226+ * @public
216227 */
217228export class IncompleteTypeConstructor {
218229 constructor ( name , age : number ) {
0 commit comments