Explorar el Código

Format doc comments correctly for TypeScript

Shaddock Heath hace 9 años
padre
commit
b6730833dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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_ += "      ";