4 lines
294 B
TypeScript
4 lines
294 B
TypeScript
export declare function assert(condition: any, msg?: string): asserts condition;
|
|
export declare function assertDefined<T>(value: T | undefined, msg?: string): asserts value is T;
|
|
export declare function assertDefinedAndNotNull<T>(value: T | undefined | null, msg?: string): asserts value is T;
|