fix(): fix more lint errors
This commit is contained in:
parent
f34b6e6664
commit
0b3d299a96
@ -39,7 +39,6 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class Clipboard extends IonicNativePlugin {
|
export class Clipboard extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copies the given text
|
* Copies the given text
|
||||||
* @param {string} text Text that gets copied on the system clipboard
|
* @param {string} text Text that gets copied on the system clipboard
|
||||||
@ -64,6 +63,7 @@ export class Clipboard extends IonicNativePlugin {
|
|||||||
* @returns {Promise<any>} Returns a promise after the text has been cleaned
|
* @returns {Promise<any>} Returns a promise after the text has been cleaned
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
clear(): Promise<any> { return; }
|
clear(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -318,10 +318,7 @@ export class Firebase extends IonicNativePlugin {
|
|||||||
successIndex: 2,
|
successIndex: 2,
|
||||||
errorIndex: 3
|
errorIndex: 3
|
||||||
})
|
})
|
||||||
verifyPhoneNumber(
|
verifyPhoneNumber(phoneNumber: string, timeoutDuration = 0): Promise<any> {
|
||||||
phoneNumber: string,
|
|
||||||
timeoutDuration: number = 0
|
|
||||||
): Promise<any> {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,6 @@ export interface ImageObj {
|
|||||||
openCashDrawer?: boolean;
|
openCashDrawer?: boolean;
|
||||||
}
|
}
|
||||||
export interface PrintCommand {
|
export interface PrintCommand {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Characther encoding is used to getByte data from all subsequent commands. Default 'US-ASCII'
|
* Characther encoding is used to getByte data from all subsequent commands. Default 'US-ASCII'
|
||||||
* Choose the format of the return value Defined in StarPRNT.Encoding or the Encoding enum.
|
* Choose the format of the return value Defined in StarPRNT.Encoding or the Encoding enum.
|
||||||
@ -420,7 +419,7 @@ export enum Emulation {
|
|||||||
/** SM-S210i, SM-S220i, SM-S230i, SM-T300i/T300, SM-T400i */
|
/** SM-S210i, SM-S220i, SM-S230i, SM-T300i/T300, SM-T400i */
|
||||||
EscPosMobile = 'EscPosMobile',
|
EscPosMobile = 'EscPosMobile',
|
||||||
/** SP700 */
|
/** SP700 */
|
||||||
StarDotImpact = 'StarDotImpact',
|
StarDotImpact = 'StarDotImpact'
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -651,7 +650,6 @@ export interface CommandsArray extends Array<PrintCommand> {}
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class StarPRNT extends IonicNativePlugin {
|
export class StarPRNT extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constant for Emulation
|
* Constant for Emulation
|
||||||
*/
|
*/
|
||||||
@ -662,7 +660,7 @@ export class StarPRNT extends IonicNativePlugin {
|
|||||||
StarGraphic: 'StarGraphic',
|
StarGraphic: 'StarGraphic',
|
||||||
EscPos: 'EscPos',
|
EscPos: 'EscPos',
|
||||||
EscPosMobile: 'EscPosMobile',
|
EscPosMobile: 'EscPosMobile',
|
||||||
StarDotImpact: 'StarDotImpact',
|
StarDotImpact: 'StarDotImpact'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user