1
Fork 0
tildes-shepherd/source/types.d.ts

13 lines
393 B
TypeScript
Raw Normal View History

import type Shepherd from "shepherd.js";
2023-06-11 14:17:01 +00:00
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;
2023-06-11 14:17:01 +00:00
}