UNPKG

laravel-echo

Version:

Laravel Echo library for beautiful Pusher and Socket.IO integration

26 lines (21 loc) 622 B
import type { AxiosStatic } from "axios"; import type { JQueryStatic } from "jquery"; import type Pusher from "pusher-js"; import type { SocketIoFunction } from "../src/socketio-types"; declare global { interface Window { Laravel?: { csrfToken?: string; }; io?: SocketIoFunction; 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; }