Confused about gltf-transform version
Dan Rose
It seems like the type hints don't match the version of gltf-transform. In particular, it seems like it
can
use textureCompress, though the contextual help indicate otherwise.On the bottom of the page it says "gltf-transform v3.10.0" but the inline docs/type hints seem to indicate a previous version (pre https://github.com/donmccurdy/glTF-Transform/pull/1075).
D
Don McCurdy
Hi Dan Rose – It looks like your guess is correct. I have a separate build process to bundle types (blocker to remove that: https://github.com/microsoft/TypeScript/issues/4433) and things have gotten out of sync.
I'm planning to publish glTF Transform v4 soon, and will get everything updated in glTF Report afterward.
Dan Rose
Don McCurdy Wow. It's strangely encouraging to know that other, smarter people have as much trouble with TypeScript as I do!
D
Don McCurdy
Dan Rose haha no same, I do enjoy TS as a language but the toolchain, maybe less so. 😅
Anyway v4 is published now! Updating glTF Report next up.
D
Don McCurdy
Updated glTF Report to glTF Transform v4 today. :)