Skip to content

Commit

Permalink
feat(ngdoc): pipe api doc default public
Browse files Browse the repository at this point in the history
  • Loading branch information
Guoxiin authored and why520crazy committed Dec 5, 2023
1 parent abbeffd commit 8e83c1b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions packages/a-lib/button/button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export class ButtonService {

/**
* 把文本转换成全大写形式
* @public
* @name uppercase
* @order 10
*/
Expand All @@ -137,7 +136,6 @@ export class UpperCasePipe implements PipeTransform {

/**
* 大写转换
* @public
* @param {string} value 输入值
* @param {string} defaultValue 转不成大写时候的默认值
* @returns {string}
Expand Down
3 changes: 0 additions & 3 deletions packages/ngdoc/src/ng-parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,6 @@ export abstract class DialogRef<T = unknown> extends AbstractDialogRef<T> {
'/dialog/dialog.ts': `
/**
* 把文本转换成全大写形式
* @public
* @name uppercase
* @order 10
*/
Expand All @@ -985,7 +984,6 @@ export abstract class DialogRef<T = unknown> extends AbstractDialogRef<T> {
constructor() {}
/**
* @public
* @param {string} value 输入值
* @returns {boolean}
*/
Expand Down Expand Up @@ -1033,7 +1031,6 @@ export abstract class DialogRef<T = unknown> extends AbstractDialogRef<T> {
constructor() {}
/**
* @public
* @description transform 重载方法1
* @param input1 这是一个参数
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/ngdoc/src/ng-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class NgDocParser {
...getPipeMeta(ngDecorator.argumentInfo),
name: getTextByJSDocTagInfo(tags.name, getPipeMeta(ngDecorator.argumentInfo)?.name)
};
directiveDoc.methods = this.parseDeclarationMethods(context, declaration, { explicitPublic: true });
directiveDoc.methods = this.parseDeclarationMethods(context, declaration);
return directiveDoc;
}

Expand Down

0 comments on commit 8e83c1b

Please sign in to comment.