Powered by
I'm trying to write some Typescript declarations f...
# general-chat
t
thankful-wire-37848
01/03/2023, 2:23 PM
I'm trying to write some Typescript declarations for my custom commands in a project that perform actions against a BPMN engine endpoint (for test setup purposes). These bits work but I wanted to find a way to make sure the
submitTask
and
expectTaskName
commands can only be chained off from a
Chainable<TaskContext>
subject and not a
Chainable<any>
subject. Is that possible in Typescript?
2
Views
Previous
Next