Browse Source

Format doc comments correctly for TypeScript

Shaddock Heath 9 years ago
parent
commit
b6730833dc
1 changed files with 1 additions and 1 deletions
  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())
-        source_ += "      //" + function->GetDocString() + "\n";
+        source_ += "      /** " + function->GetDocString() + " */\n";
 
     source_ += "      ";