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).