position-strings
Version:
Lexicographically-ordered position strings for collaborative lists and text
8 lines (7 loc) • 398 B
TypeScript
export declare function precond(statement: boolean, message: string, ...optionalParams: unknown[]): asserts statement is true;
export declare function assert(statement: boolean, message?: string, ...optionalParams: unknown[]): asserts statement is true;
/**
* [[PositionSource.LAST]] copy that avoids circular dependencies
* (PositionSource <-> IDs).
*/
export declare const LastInternal = "~";