UNPKG

laravel-echo

Version:

Laravel Echo library for beautiful Pusher and Socket.IO integration

26 lines (21 loc) 596 B
import type { AxiosStatic } from "axios"; import type { JQueryStatic } from "jquery"; import type Pusher from "pusher-js"; import type { io } from "socket.io-client"; declare global { interface Window { Laravel?: { csrfToken?: string; }; io?: typeof io; Pusher?: typeof Pusher; Vue?: any; axios?: AxiosStatic; jQuery?: JQueryStatic; Turbo?: object; } const Vue: any | undefined; const axios: AxiosStatic | undefined; const jQuery: JQueryStatic | undefined; const Turbo: object | undefined; }