Skip to content

Commit

Permalink
PR feedback: satisfy CatalogueCleanup requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
lol768 committed Nov 8, 2023
1 parent c783bf0 commit 12c9294
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public override string GenerateCode(ICodeGenerationContext context)
public string PathToUnit { get; set; }
public bool UseTypeKeyword { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public override string GenerateCode(ICodeGenerationContext context)
public TypeScriptUnit CurrentUnit { get; set; }
public bool UseTypeKeyword { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ protected override TypeScriptType ReferenceFromInternal(ITypeInfo type, TypeScri
private readonly string typeName;
private readonly string path;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ protected override TypeScriptType ReferenceFromInternal(ITypeInfo type, TypeScri
return targetUnit.AddTypeImport(type, Declaration, Unit, typeGenerator.Options.UseTypeImports);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public class TypeScriptGenerationOptions
public bool UseTypeImports { get; set; } = false;
public static TypeScriptGenerationOptions Default => new TypeScriptGenerationOptions();
}
}
}
2 changes: 1 addition & 1 deletion TypeScript.ContractGenerator/TypeScriptUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ public string GenerateCode(DefaultCodeGenerationContext context)
private readonly Dictionary<ITypeInfo, TypeScriptImportStatement> imports = new Dictionary<ITypeInfo, TypeScriptImportStatement>();
private readonly Dictionary<ImportedSymbol, TypeScriptImportStatement> symbolImports = new Dictionary<ImportedSymbol, TypeScriptImportStatement>();
}
}
}

0 comments on commit 12c9294

Please sign in to comment.