Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
rkodev committed Nov 21, 2024
1 parent 3f6b7af commit 542be57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kiota.Builder/Refiners/TypeScriptRefiner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1494,10 +1494,10 @@ private static void AddDeserializerUsingToDiscriminatorFactory(CodeElement codeE
foreach (var mappedType in parsableFactoryFunction.OriginalMethodParentClass.DiscriminatorInformation.DiscriminatorMappings)
{
if (mappedType.Value is not
{ TypeDefinition: CodeClass { Parent: CodeNamespace codeNamespace } mappedClass }
{ TypeDefinition: CodeClass { Parent: CodeNamespace codeNamespace } mappedClass }
|| codeNamespace.FindChildByName<CodeFunction>(
$"{ModelDeserializerPrefix}{mappedClass.Name.ToFirstCharacterUpperCase()}") is not
{ } deserializer)
{ } deserializer)
{
continue;
}
Expand Down

0 comments on commit 542be57

Please sign in to comment.