We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f91f9 commit cae951bCopy full SHA for cae951b
src/GraphODataTemplateWriter/CodeHelpers/TypeScript/TypeHelperTypeScript.cs
@@ -30,6 +30,7 @@ public static string GetTypeString(this OdcmProperty prop)
30
case "Int64":
31
case "Double":
32
case "Binary": // let binary: number = 0b1010;
33
+ case "Duration": //Edm.Duration
34
typeStr = "number";
35
break;
36
case "Guid":
@@ -39,6 +40,7 @@ public static string GetTypeString(this OdcmProperty prop)
39
40
// all dates need to be of type string so they can be wrapped in new Date(___)
41
case "DateTimeOffset": // ISO 8601 format in UTC time, ex 2014-01-01T00:00:00Z
42
case "Date":
43
+ case "TimeOfDay":
44
typeStr = "string";
45
46
case "Boolean":
0 commit comments