mcp-use
Version:
Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.
8 lines • 341 B
TypeScript
/**
* Asserts that a condition is true, throwing an error if not.
* Useful for type narrowing.
* @param condition The condition to check.
* @param message The error message to throw if the condition is false.
*/
export declare function assert(condition: unknown, message: string): asserts condition;
//# sourceMappingURL=assert.d.ts.map