UNPKG

telefunc

Version:

Remote functions. Instead of API.

18 lines (17 loc) 711 B
export { assert }; export { assertUsage }; export { assertWarning }; export { assertInfo }; export { getProjectError }; export { errorPrefix }; declare const errorPrefix: string; declare function assert(condition: unknown, debugInfo?: unknown): asserts condition; declare function assertUsage(condition: unknown, errorMessage: string): asserts condition; declare function getProjectError(errorMessage: string): Error; declare function assertWarning(condition: unknown, errorMessage: string, { onlyOnce, showStackTrace }: { onlyOnce: boolean | string; showStackTrace?: true; }): void; declare function assertInfo(condition: unknown, errorMessage: string, { onlyOnce }: { onlyOnce: boolean; }): void;