declare var back: DojoJS.Back; declare global { namespace DojoJS { interface BackArgs { back?: (...args: any[]) => void; forward?: (...args: any[]) => void; changeUrl?: boolean | string; } interface Back { getHash(): string; setHash(h: string): void; /** * private method. Do not call this directly. */ goBack(): void; /** * private method. Do not call this directly. */ goForward(): void; /** * Initializes the undo stack. This must be called from a