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

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

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