Open zhirzh opened 3 weeks ago
I don't use TypeScript, but I'm not sure you properly captured the panorama
option when the dynamic
option is set to true
. In this case, the panorama
option accepts anything that the pixels
argument to texImage2D
accepts. It looks to me that you're forcing the panorama
option to be a string.
Hi @mpetroff. I have added pannellum types on DefinitelyTyped and would like you to review them. If any changes are needed, I'd be happy to patch things up.