Doc bug: ClipProjectItem::getComponentChain does not return "Promise<string>"

Docs reports that it returns a Promise<string>.
Actually returns either a Promise<VideoComponentChain> or Promise<AudioComponentChain>
so it should state :
Returns: Promise<VideoComponentChain> or Promise<AudioComponentChain>


getComponentChain

Get the component chain of the Project item for the given media type.

Since: 25.6

Returns: Promise<string>

Parameters

Name Type Description
mediaType Constants.MediaType Media type can be audio or video

Hey @MarcClown,

This was also something I stumbled on as well and updated in the TypeScript declarations recently as part of the v26.5.0-beta version of the declarations package.

I’m planning on updating our docs to reflect that change here among some other updates here soon!

1 Like