import { initClient } from 'messagebird'; const mbClient = initClient(''); mbClient.recordings.list('', '', 100, 0, ( // $ExpectType Error | null err, // $ExpectType Recording[] | null recordings ) => {}); mbClient.recordings.read('', '', '', ( // $ExpectType Error | null err, // $ExpectType Recording | null recording ) => {} ); mbClient.recordings.download('', '', '', ( // $ExpectType Error | null err, // $ExpectType unknown recording ) => {} );