diff --git a/compiler/src/process_component_build.ts b/compiler/src/process_component_build.ts index ab45745..df2a2a0 100644 --- a/compiler/src/process_component_build.ts +++ b/compiler/src/process_component_build.ts @@ -1004,7 +1004,7 @@ function addComponentAttr(temp: any, node: ts.Identifier, lastStatement: any, } if (propName === 'id') { - const literalString = temp.arguments[0].text; + const literalString: string = temp.arguments[0].text; const rLine: number = posOfNode.line + line; const rCol: number = posOfNode.character + col; const projectPath: string = projectConfig.projectPath;