diff --git a/dist/types/preview.d.ts b/dist/types/preview.d.ts index f247e48..a5963b7 100644 --- a/dist/types/preview.d.ts +++ b/dist/types/preview.d.ts @@ -110,15 +110,15 @@ export interface LocalVideoTrack { * Determines whether to crop the background image to an appropriate aspect ratio (16/9), default is false. */ cropped?: boolean; - }, + } ): Promise; /** * Stops local video capture. */ stop(): Promise; /** - * Switch microphone. - * @param deviceId The ID of the microphone to switch to. + * Switch camera. + * @param deviceId The ID of the camera to switch to. */ switchCamera(deviceId: string): Promise; /** @@ -128,7 +128,7 @@ export interface LocalVideoTrack { */ updateVirtualBackground( imageUrl?: string, - cropped?: boolean, + cropped?: boolean ): Promise; } /** @@ -164,5 +164,7 @@ export interface LocalAudioTrack { Tests the microphone, usually used to test the microphone before a meeting. * @param options the test microphone option. */ - testMicrophone(options?: TestMicrophoneOption): TestMicrophoneReturn | undefined; + testMicrophone( + options?: TestMicrophoneOption + ): TestMicrophoneReturn | undefined; }