public static void AddImport(this TypeScriptModuleDefinition objectDefinition, string type, string from) => objectDefinition.Namespaces.Add(string.Format("{{ {0} }} from \"{1}\"", type, from));
public TypeScriptModuleBuilder(TypeScriptModuleDefinition module) { Module = module; }
public static void AddImport(this TypeScriptModuleDefinition objectDefinition, IEnumerable <string> types, string from) => objectDefinition.Namespaces.Add(string.Format("{{ {0} }} from \"{1}\"", string.Join(", ", types), from));
public static void AddImport(this TypeScriptModuleDefinition moduleDefinition, string type, string from) => moduleDefinition.Namespaces.Add(string.Format("{{ {0} }} from '{1}'", type, from));