mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Barcode
This commit is contained in:
@ -17,7 +17,11 @@ export class NativePluginDecorator {
|
||||
cls.pluginWarn();
|
||||
|
||||
// If the user supplied a default return value, return it here.
|
||||
return (typeof returnType === 'function') ? returnType() : returnType;
|
||||
if(returnType) {
|
||||
return (typeof returnType === 'function') ? returnType() : returnType;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
cls.pluginWarn = () => {
|
||||
|
Reference in New Issue
Block a user