From ceb5c7ab278c253615faae7e10cf1d401c104fbd Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Sat, 8 Feb 2020 13:07:47 +0800 Subject: [PATCH] fix: fix compile error issues --- .../kotlin/chapi/ast/typescriptast/TypeScriptIdentVisitor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptIdentVisitor.kt b/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptIdentVisitor.kt index b232c4aa..dea7400d 100644 --- a/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptIdentVisitor.kt +++ b/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptIdentVisitor.kt @@ -44,7 +44,7 @@ class TypeScriptIdentVisitor(private var node: TSIdentify) : TypeScriptParserBas val currentType = "Interface" currentNode = CodeDataStruct( - Type = "Interface", + Type = currentType, NodeName = nodeName )