11 lines · 251 B · TypeScript
RawDownload
declare module 'diff' {  export function createTwoFilesPatch(    oldFileName: string,    newFileName: string,    oldStr: string,    newStr: string,    oldHeader?: string,    newHeader?: string,    options?: { context?: number }  ): string;}