public TypeScriptDeclaration Map( Type type, ICollection <Type> allTypes, ICollection <Type> referencedTypes, ICollection <Type> unMappedDependencies) { var name = allTypes.First(o => o.FullName == type?.FullName).Name; var result = new TypeScriptDeclaration { AlternateTypes = new[] { "undefined" }, Initialiser = "undefined", IsArray = false, IsImport = true, IsNullable = false, Type = name }; return(result); }
public void ActMapType() { _result = TypeMapper.Map(_type, new List <Type>(), new List <Type>(), new List <Type>()); }