瀏覽代碼

Format doc comments correctly for TypeScript

Shaddock Heath 9 年之前
父節點
當前提交
b6730833dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/ToolCore/JSBind/JSBTypeScript.cpp

+ 1 - 1
Source/ToolCore/JSBind/JSBTypeScript.cpp

@@ -125,7 +125,7 @@ void JSBTypeScript::ExportFunction(JSBFunction* function)
     }
     }
 
 
     if (function->GetDocString().Length())
     if (function->GetDocString().Length())
-        source_ += "      //" + function->GetDocString() + "\n";
+        source_ += "      /** " + function->GetDocString() + " */\n";
 
 
     source_ += "      ";
     source_ += "      ";