diff --git a/src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs b/src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs index 0a6d3d9836..d309c1325a 100644 --- a/src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs +++ b/src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs @@ -232,7 +232,10 @@ TYPE_NUMBER or TYPE_LOWERCASE_STRING or TYPE_BYTE_ARRAY or TYPE_LOWERCASE_BOOLEAN or - TYPE_LOWERCASE_VOID => true, + TYPE_LOWERCASE_VOID or + TYPE_DATE_ONLY or + TYPE_TIME_ONLY or + TYPE_DURATION => true, _ => false, }; }