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

Type error: Property 'next' does not exist on type 'Result'. #31

Open
davidl opened this issue Nov 6, 2020 · 0 comments
Open

Type error: Property 'next' does not exist on type 'Result'. #31

davidl opened this issue Nov 6, 2020 · 0 comments

Comments

@davidl
Copy link

davidl commented Nov 6, 2020

In the file clustering.js (line 303), there is a call to result.next() but the type Interface for Result in ecStat.d.ts (line 21) does not provide a type definition for the next function. This causes a compilation error when using the example code in clustering_animation.html (line 64).

Please add a type definition for the next() function to the Result interface to avoid the following error:

error TS2339: Property 'next' does not exist on type 'Result'.

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