You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/generated-grpc-js/google/protobuf/field_mask.ts(258,12): error TS18048: 'message.paths' is possibly 'undefined'.
src/generated-grpc-js/google/protobuf/field_mask.ts(277,5): error TS2322: Type 'string[] | undefined' is not assignable to type 'string[]'.
Type 'undefined' is not assignable to type 'string[]'.
The interface for FieldMask gets generated as:
exportinterfaceFieldMask{/** The set of field mask paths. */paths?: string[]|undefined}
The interface for FieldMask gets generated as:
And toJSON is missing optional chaining:
...and unwrap is returning a
string[] | undefined
wherestring[]
is expected in the function signature:Looks like this requires a similar treatment as #949. I can give it a go unless I'm missing something?
The text was updated successfully, but these errors were encountered: