Skip to main content
Glama
diff.d.tsβ€’625 B
// Type definitions for diff 7.0.0 // Since @types/diff is deprecated, we provide minimal type definitions here // to prevent TypeScript compilation errors declare module "diff" { // Minimal type definitions to satisfy TypeScript compiler // Add more detailed types if needed export interface Change { added?: boolean; removed?: boolean; value: string; } export function diffLines(oldStr: string, newStr: string): Change[]; export function createTwoFilesPatch( oldFileName: string, newFileName: string, oldStr: string, newStr: string, ): string; export function parsePatch(diffStr: string): any[]; }

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/snapback-dev/mcp-server'

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