mirror of
https://github.com/ckaczor/HomeStatus.git
synced 2026-01-17 09:35:41 -05:00
21 lines
368 B
TypeScript
21 lines
368 B
TypeScript
declare module 'regression' {
|
|
type NumberArray = Array<number>;
|
|
|
|
export class Result {
|
|
equation: Array<NumberArray>;
|
|
points: Array<NumberArray>;
|
|
string: string;
|
|
}
|
|
|
|
export class Options {
|
|
order?: number;
|
|
precision?: number;
|
|
}
|
|
|
|
export const _default: {
|
|
linear: (points: Array<NumberArray>, options?: Options) => Result;
|
|
}
|
|
|
|
export default _default;
|
|
}
|