mirror of
https://github.com/ckaczor/HomeStatus.git
synced 2026-02-15 02:48:33 -05:00
Initial commit to GitHub
This commit is contained in:
20
typings/regression.d.ts
vendored
Normal file
20
typings/regression.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user