The TypeScript typings appear to be flawed for this library. The useShepherd composable function accepts the following arguments:
This doesn't align with what is shown in this repo's description where, for example, { useModalOverlay: true } is being passed as an argument. I do not get any type suggestions for these configuration properties.
Besides that, the Tour object that is returned by this function seems to be incomplete. I do not get any type hints about what functions are available. addStep and start are both typed as any.
The shown code does render a step, so the library is definitely working. It just doesn't provide any useful type hints.
The TypeScript typings appear to be flawed for this library. The
useShepherdcomposable function accepts the following arguments:This doesn't align with what is shown in this repo's description where, for example,
{ useModalOverlay: true }is being passed as an argument. I do not get any type suggestions for these configuration properties.Besides that, the
Tourobject that is returned by this function seems to be incomplete. I do not get any type hints about what functions are available.addStepandstartare both typed as any.The shown code does render a step, so the library is definitely working. It just doesn't provide any useful type hints.