What should be the datatype for the instance here?

As right now, I am using ‘any’ as a datatype for the viewerInstance.

What should be the datatype here. I am using Angular 9 with NodeJs12.16. ?

1 Like

Hey there!

viewerInstance is just a plain object so there is no specific data type or class to compare to.

If you are talking about Typescript types, we currently do not have a Typescript declaration, but that may be coming in the future.

Thanks!
Logan