UNPKG

@types/turbolinks

Version:
37 lines (29 loc) 1.05 kB
# Installation > `npm install --save @types/turbolinks` # Summary This package contains type definitions for turbolinks (https://github.com/turbolinks/turbolinks). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/turbolinks. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/turbolinks/index.d.ts) ````ts export = Turbolinks; export as namespace Turbolinks; declare const Turbolinks: Turbolinks.TurbolinksStatic; declare namespace Turbolinks { interface Action { action: "advance" | "replace"; } interface TurbolinksStatic { start(): void; visit(location: string, options?: Action): void; clearCache(): void; setProgressBarDelay(delayInMilliseconds: number): void; supported: boolean; } } ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: none # Credits These definitions were written by [evankim390](https://github.com/evankim390).