import { Uploader } from 'ngx-uploadx' ; example export class Multer extends Uploader { async getFileUrl ( ) { this . offset = 0 ; const formData = new FormData ( ) ; formData . append ( 'file' , this . file , this . file . name ) ; await this . request ( { method : 'POST' , body : formData , url : this . endpoint } ) ; this . offset = this . size ; return '' ; } async sendFileContent ( ) { return this . size ; } async getOffset ( ) { return 0 ; } }