Skip to content

Commit eda74eb

Browse files
committed
TypeScript
- unused imports removed
1 parent c29fd08 commit eda74eb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

TypeScript/Transfer/TypeScriptModelWriter.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ protected override ClassTemplate WriteClass(ModelTransferObject model, string re
2424
{
2525
IOptions modelOptions = this.Options.Get(model);
2626
ClassTemplate classTemplate = base.WriteClass(model, relativePath);
27-
foreach (Import import in modelOptions.Imports)
28-
{
29-
classTemplate.AddUsing(import.TypeName, import.FileName);
30-
}
3127
if (!model.IsAbstract && !classTemplate.IsInterface && modelOptions.Language.IsTypeScript())
3228
{
3329
ConstructorTemplate constructor = classTemplate.AddConstructor();

0 commit comments

Comments
 (0)