Skip to content

Commit 7a0d451

Browse files
author
Brian Melton
committed
Merge branch 'master' into iambmelt/working
2 parents dde399d + f75b86a commit 7a0d451

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GraphODataTemplateWriter/CodeHelpers/TypeScript/TypeHelperTypeScript.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public static string GetTypeString(this OdcmProperty prop)
3030
case "Int64":
3131
case "Double":
3232
case "Binary": // let binary: number = 0b1010;
33+
case "Duration": //Edm.Duration
3334
typeStr = "number";
3435
break;
3536
case "Guid":
@@ -39,6 +40,7 @@ public static string GetTypeString(this OdcmProperty prop)
3940
// all dates need to be of type string so they can be wrapped in new Date(___)
4041
case "DateTimeOffset": // ISO 8601 format in UTC time, ex 2014-01-01T00:00:00Z
4142
case "Date":
43+
case "TimeOfDay":
4244
typeStr = "string";
4345
break;
4446
case "Boolean":

0 commit comments

Comments
 (0)