Gave the structure in diagnosticInformationMap.generated.ts a named type.

This is useful because the compiler output is effectively unreadable if a property is used but missing from the message map.