googleapis/google-cloudevents-nodejs

Allow TypeScript dates to also be strings

Closed this issue · 1 comments

grant commented

Expected Behavior

In a few types, we use the TypeScript Date field. We should allow strings with Date | string

Actual Behavior

We only use Date

Example:

grant commented

I've created a PR that fixes this.