shipshapecode / angular-shepherd

An Angular wrapper for the site tour library Shepherd
MIT License
216 stars 44 forks source link

Export typescript interfaces #1880

Open bastienmoulia opened 1 year ago

bastienmoulia commented 1 year ago

Hello,

I would like to type my steps variables like that:

const steps: Step.StepOptions[] = [
   // my steps
];

But I didnt't find a way to import the interface. Can you export it?

KeithGillette commented 1 year ago

if you import Shepherd from 'shepherd.js'; you can type step properties and variables with: Shepherd.Step.StepOptions[].