Skip to content

Commit

Permalink
PR feedback: require useTypeKeyword to always be passed explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
lol768 committed Nov 8, 2023
1 parent 1ef4003 commit c783bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TypeScript.ContractGenerator/TypeScriptUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class TypeScriptUnit

public List<TypeScriptStatement> Body { get; } = new List<TypeScriptStatement>();

public TypeScriptTypeReference AddTypeImport(ITypeInfo sourceType, TypeScriptTypeDeclaration typeDeclaration, TypeScriptUnit sourceUnit, bool useTypeKeyword=false)
public TypeScriptTypeReference AddTypeImport(ITypeInfo sourceType, TypeScriptTypeDeclaration typeDeclaration, TypeScriptUnit sourceUnit, bool useTypeKeyword)
{
if (sourceUnit != this && !imports.ContainsKey(sourceType))
{
Expand Down

0 comments on commit c783bf0

Please sign in to comment.