Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript types #6

Open
y4nnick opened this issue Jan 2, 2021 · 0 comments
Open

Typescript types #6

y4nnick opened this issue Jan 2, 2021 · 0 comments

Comments

@y4nnick
Copy link

y4nnick commented Jan 2, 2021

Hi, thanks for the gread lib!

Do u plan to add typescript types?

I allready created a minimal index.d.ts to satisify my local compiler.
But it is by far not complete.

declare class ArimaClass {
	predict(steps: number, exog: Array<Array<number>>): Array<Array<number>>
	fit(values: Array<number>, exog: Array<Array<number>>): ArimaClass
}

type ArimaConstructor = new (args: any) => ArimaClass
declare const arimaConstructorConst: ArimaConstructor

declare module 'arima' {
	export = arimaConstructorConst
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant