Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

diff.d.ts 404B

1234567891011121314151617181920
  1. declare function diff(
  2. text1: string,
  3. text2: string,
  4. cursorPos?: number | diff.CursorInfo
  5. ): diff.Diff[];
  6. declare namespace diff {
  7. type Diff = [-1 | 0 | 1, string];
  8. const DELETE: -1;
  9. const INSERT: 1;
  10. const EQUAL: 0;
  11. interface CursorInfo {
  12. oldRange: { index: number; length: number };
  13. newRange: { index: number; length: number };
  14. }
  15. }
  16. export = diff;