Adds the appropriate return type for the method or function
This commit is contained in:
committed by
GitHub
parent
03e55aad71
commit
f9fae026e9
@@ -24,7 +24,7 @@ export class I18nService {
|
||||
}
|
||||
|
||||
// Initializing i18n
|
||||
initialize() {
|
||||
initialize(): void {
|
||||
this.i18n.use(LanguageDetector).init({
|
||||
// lng: INITIAL_LANGUAGE,
|
||||
fallbackLng: 'en',
|
||||
@@ -50,7 +50,7 @@ export class I18nService {
|
||||
this.i18n.addResourceBundle('fr', 'translation', fr);
|
||||
}
|
||||
|
||||
changeLanguage(language: string) {
|
||||
changeLanguage(language: string): void {
|
||||
this.i18n.changeLanguage(language);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user