Creating a discriminated union based on the first element of a non-empty array in TypeScript can ...
is it possible to create a discriminated union of the literal of the first element of a non empty array?
The AWS events for lambda are very difficult to "discriminate". How to capture this in Schema's?
(also see https://stackoverflow.com/questions/41814750/how-to-know-event-souce-of-lambda-function-in-itself/41837288#41837288)
The AWS events for lambda are very difficult to "discriminate". How to capture this in Schema's?
(also see https://stackoverflow.com/questions/41814750/how-to-know-event-souce-of-lambda-function-in-itself/41837288#41837288)
