Azure / azure-functions-durable-js

JavaScript library for using the Durable Functions bindings
https://www.npmjs.com/package/durable-functions
MIT License
128 stars 47 forks source link

Add DurableClient class declaration #450

Closed hossam-nasr closed 1 year ago

hossam-nasr commented 1 year ago

Resolves #154, part of #416. Adds a DurableClient class declaration that the DurableOrchestrationClient class implements, and exports it from the root of the package.

// before
const client = df.getClient(context)
// client. -> no intellisense

// after
const client: DurableClient = df.getClient(context);
// client. -> all the intellisense ✨