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
One way to define connection to an Event Grid is to use identity based connection, see documentation. However, when dealing with Typescript, the connection property doesn't seem to exist:
Argument of type '{ connection: string; }' is not assignable to parameter of type 'EventGridOutputOptions'.
One way to define connection to an Event Grid is to use identity based connection, see documentation. However, when dealing with Typescript, the connection property doesn't seem to exist:
Argument of type '{ connection: string; }' is not assignable to parameter of type 'EventGridOutputOptions'.
Sample code:
Repro steps
@azure/functions
Expected behavior
EventGridOutputOptions type should contain
connection
property.Actual behavior
Argument of type '{ connection: string; }' is not assignable to parameter of type 'EventGridOutputOptions'.
Known workarounds
Use Javascript instead of Typescript or suppress TS warnings.
Related information
NodeJS version 18.x
@azure/functions 4.0.1
The text was updated successfully, but these errors were encountered: