13 lines
393 B
TypeScript
13 lines
393 B
TypeScript
import type Shepherd from "shepherd.js";
|
|
|
|
declare global {
|
|
const $browser: "chromium" | "firefox";
|
|
const $dev: boolean;
|
|
const $test: boolean;
|
|
|
|
type TourStepEvent = "show" | "destroy";
|
|
type TourStepEventFunction = Parameters<Shepherd.Step["on"]>[1];
|
|
type TourStepEventHandler = [string, [TourStepEvent, TourStepEventFunction]];
|
|
type TourStepOptions = Shepherd.Step.StepOptions;
|
|
}
|