Video Capture Plus doesn't work

Hello everyone,

I try to use this code

const options: VideoCapturePlusOptions = {
   limit: 1,
   highquality: true,
   portraitOverlay: 'assets/img/camera/overlay/portrait.png',
   landscapeOverlay: 'assets/img/camera/overlay/landscape.png'
}

this.videoCapturePlus.captureVideo(options).then(mediafile: MediaFile[] => console.log(mediafile), error => console.log('Something went wrong'));

(https://ionicframework.com/docs/native/video-capture-plus/)

But I have this error : [ts] Expected 0-2 arguments, but got 4

Someone know why ?

Thank