Add: param type

Signed-off-by: laibo102 <laibo2@huawei.com>
Change-Id: I663eaf407fe848ad211df753c21a98b07f48c6f0
This commit is contained in:
laibo102
2022-08-04 11:03:27 +08:00
parent 58dcd99da8
commit 3b7b4e7425
+1 -1
View File
@@ -189,7 +189,7 @@ function processMembers(members: ts.NodeArray<ts.ClassElement>, parentComponentN
function validateDecorators(item: ts.ClassElement, log: LogInfo[]): void {
if (item.decorators && item.decorators.length) {
item.decorators.map((decorator) => {
item.decorators.map((decorator: ts.Decorator) => {
const decoratorName: string = decorator.getText();
if (INNER_COMPONENT_MEMBER_DECORATORS.has(decoratorName)) {
log.push({