Incorrect types for repeated enum fields #1205
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
An enum field usually has a type like: https://github.com/googleapis/nodejs-web-risk/blob/c3c2f0638124d2e876ee36925e5766e1c7dc447b/protos/protos.d.ts#L141
A repeated enum field does not have the
keyof typeof
part of the union: https://github.com/googleapis/nodejs-web-risk/blob/c3c2f0638124d2e876ee36925e5766e1c7dc447b/protos/protos.d.ts#L571The text was updated successfully, but these errors were encountered: