Ionic 4 - Ionic wrapper for custom plugins Error: Object(...) is not a function

Try to write the provider similar to the compiled Ionic Native code

import { Injectable } from '@angular/core';
import { cordova, IonicNativePlugin } from '@ionic-native/core';

@Injectable()
export class SignalStrength extends IonicNativePlugin {
    static pluginName = 'SignalStrength',
    static plugin = 'cordova-aspolar-plugin-signal-strength',
    static pluginRef = 'window.plugins.signalStrength',
    static repo = 'https://github.com/JVasconsueloM/aspolar-signal-strength',
    static platforms = ['Android']

    getdBm(): Promise<any> { 
       return cordova(this, 'getdBm', {}, []};
    }

}