helene
Version:
Real-time Web Apps for Node.js
15 lines (14 loc) • 529 B
TypeScript
export declare namespace Helpers {
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
interface IRPCError {
code: number;
message: string;
data?: string;
}
function isSecure(): boolean;
function extend(target: object, source: object): void;
function getCircularReplacer(): (key: any, value: any) => any;
function ensureArray(value: any): any[];
function toString(id: any): string;
}