Files
FrenoCorp/node_modules/lib0/pair.d.ts
Michael Freno 7c684a42cc FRE-600: Fix code review blockers
- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 00:08:01 -04:00

22 lines
582 B
TypeScript

/**
* Working with value pairs.
*
* @module pair
*/
/**
* @template L,R
*/
export class Pair<L, R> {
/**
* @param {L} left
* @param {R} right
*/
constructor(left: L, right: R);
left: L;
right: R;
}
export function create<L, R>(left: L, right: R): Pair<L, R>;
export function createReversed<L, R>(right: R, left: L): Pair<L, R>;
export function forEach<L, R>(arr: Array<Pair<L, R>>, f: (arg0: L, arg1: R) => any): void;
export function map<L, R, X>(arr: Array<Pair<L, R>>, f: (arg0: L, arg1: R) => X): Array<X>;
//# sourceMappingURL=pair.d.ts.map