mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
Add: param type
Signed-off-by: laibo102 <laibo2@huawei.com> Change-Id: I663eaf407fe848ad211df753c21a98b07f48c6f0
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user