Open evanlouie opened 3 months ago
Is there a reason why to use "declaration": false
in the tsconfig.json? Seems like this sort of problem would be solved by having tsc automatically emit them and setting "types": "lib/src/index.d.ts"
in package.json.
cc/ @erizba in case you have cycles.
@evanlouie I think we disabled tsc automatically emitting types to avoid the opposite problem: too many internally types being exposed, some by accident. In this case that's bitten us, but we've also been bit by the opposite behavior.
Describe the bug
Looks like suspend/resume support was landed in 3.1.0 (https://github.com/Azure/azure-functions-durable-js/pull/578) but durableClient.d.ts has not been updated to show the new methods.
Expected behavior
I should be able to see .suspend .resume on the
DurableClient
when coding in TypeScriptActual behavior
Compiler cannot see
.suspend
and.resume
because the d.ts file hasn't been updated.