Skip to main content
Glama
suspense.d.ts529 B
// Intentionally not using a relative path to take advantage of // the TS version resolution mechanism import { Component, ComponentChild, ComponentChildren } from 'preact'; // // Suspense/lazy // ----------------------------------- export function lazy<T>( loader: () => Promise<{ default: T } | T> ): T extends { default: infer U } ? U : T; export interface SuspenseProps { children?: ComponentChildren; fallback: ComponentChildren; } export class Suspense extends Component<SuspenseProps> { render(): ComponentChild; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server