@khanacademy/kmath 0.3.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,5 +25,6 @@ export declare function lawOfCosines(a: number, b: number, c: number): number;
25
25
  export declare function canonicalSineCoefficients([amplitude, angularFrequency, phase, verticalOffset,]: [any, any, any, any]): any[];
26
26
  export declare function rotate<T>(array: ReadonlyArray<T>, n?: number): ReadonlyArray<T>;
27
27
  export declare function getLineEquation(first: Coord, second: Coord): string;
28
- export declare function getLineIntersection(firstPoints: ReadonlyArray<Coord>, secondPoints: ReadonlyArray<Coord>): string;
28
+ export declare function getLineIntersection(firstPoints: ReadonlyArray<Coord>, secondPoints: ReadonlyArray<Coord>): [number, number] | null;
29
+ export declare function getLineIntersectionString(firstPoints: ReadonlyArray<Coord>, secondPoints: ReadonlyArray<Coord>): string;
29
30
  export {};