mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Misc jslib cleanups (#146)
Fixed on import parameter type on login.component and added a deprecation warning to the index.ts in abstractions
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
// Using index.ts is deprecated, please do not extend
|
||||||
export { ApiService } from './api.service';
|
export { ApiService } from './api.service';
|
||||||
export { AppIdService } from './appId.service';
|
export { AppIdService } from './appId.service';
|
||||||
export { AuditService } from './audit.service';
|
export { AuditService } from './audit.service';
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { EnvironmentService } from '../../abstractions/environment.service';
|
|||||||
import { I18nService } from '../../abstractions/i18n.service';
|
import { I18nService } from '../../abstractions/i18n.service';
|
||||||
import { PasswordGenerationService } from '../../abstractions/passwordGeneration.service';
|
import { PasswordGenerationService } from '../../abstractions/passwordGeneration.service';
|
||||||
import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
|
import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
|
||||||
|
import { StateService } from '../../abstractions/state.service';
|
||||||
import { StorageService } from '../../abstractions/storage.service';
|
import { StorageService } from '../../abstractions/storage.service';
|
||||||
|
|
||||||
import { ConstantsService } from '../../services/constants.service';
|
import { ConstantsService } from '../../services/constants.service';
|
||||||
@@ -40,7 +41,7 @@ export class LoginComponent implements OnInit {
|
|||||||
|
|
||||||
constructor(protected authService: AuthService, protected router: Router,
|
constructor(protected authService: AuthService, protected router: Router,
|
||||||
protected platformUtilsService: PlatformUtilsService, protected i18nService: I18nService,
|
protected platformUtilsService: PlatformUtilsService, protected i18nService: I18nService,
|
||||||
protected stateService: StorageService, protected environmentService: EnvironmentService,
|
protected stateService: StateService, protected environmentService: EnvironmentService,
|
||||||
protected passwordGenerationService: PasswordGenerationService,
|
protected passwordGenerationService: PasswordGenerationService,
|
||||||
protected cryptoFunctionService: CryptoFunctionService, private storageService: StorageService) { }
|
protected cryptoFunctionService: CryptoFunctionService, private storageService: StorageService) { }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user