Packages

Elixir/Phoenix admin framework for resources, dashboards, datasets, actions, authorization, and service-owned remote admin surfaces.

Current section

Files

Jump to
incant assets js vendor.d.ts
Raw

assets/js/vendor.d.ts

declare module "phoenix_html";
declare module "phoenix" {
export class Socket {
constructor(endpoint: string, options?: Record<string, unknown>);
}
}
declare module "phoenix_live_view" {
import type { Socket } from "phoenix";
export interface LiveSocketOptions {
longPollFallbackMs?: number;
params?: Record<string, unknown>;
}
export class LiveSocket {
constructor(endpoint: string, socket: typeof Socket, options?: LiveSocketOptions);
connect(): void;
}
}