[auth] Remove unnecessary return
This commit is contained in:
parent
b266a04510
commit
fb8c08c7f6
|
@ -327,7 +327,7 @@ export default class Auth extends ModuleBase {
|
|||
* @returns {*}
|
||||
*/
|
||||
useDeviceLanguage() {
|
||||
return this._native.useDeviceLanguage();
|
||||
this._native.useDeviceLanguage();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -335,8 +335,8 @@ export default class Auth extends ModuleBase {
|
|||
* @param code
|
||||
* @returns {*}
|
||||
*/
|
||||
set languageCode(code) {
|
||||
return this._native.setLanguageCode(code);
|
||||
set languageCode(code: string) {
|
||||
this._native.setLanguageCode(code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue