private string HandleOptional(TypeScriptType typeScriptType)
        {
            var vt = typeScriptType as ValueType;

              if (vt != null)
              {
            return vt.IsNullable ? "?" : "";
              }

              return "";
        }
Exemple #2
0
 private string GetPropertyComment(TypeScriptType p)
 {
     return null;
 }
Exemple #3
0
 public string GetTypeName(TypeScriptType tst)
 {
     return "any";
 }
Exemple #4
0
 private TypeScriptType ProcessTypeScriptType(Type t, TypeScriptType tst)
 {
     return tst;
 }
Exemple #5
0
 public string GetModuleName(TypeScriptType type)
 {
     return "";
 }