1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01: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:
Addison Beck 2020-08-11 10:47:30 -04:00 committed by GitHub
parent 7c3a9d61e6
commit 420393700b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
// Using index.ts is deprecated, please do not extend
export { ApiService } from './api.service';
export { AppIdService } from './appId.service';
export { AuditService } from './audit.service';

View File

@ -13,6 +13,7 @@ import { EnvironmentService } from '../../abstractions/environment.service';
import { I18nService } from '../../abstractions/i18n.service';
import { PasswordGenerationService } from '../../abstractions/passwordGeneration.service';
import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
import { StateService } from '../../abstractions/state.service';
import { StorageService } from '../../abstractions/storage.service';
import { ConstantsService } from '../../services/constants.service';
@ -40,7 +41,7 @@ export class LoginComponent implements OnInit {
constructor(protected authService: AuthService, protected router: Router,
protected platformUtilsService: PlatformUtilsService, protected i18nService: I18nService,
protected stateService: StorageService, protected environmentService: EnvironmentService,
protected stateService: StateService, protected environmentService: EnvironmentService,
protected passwordGenerationService: PasswordGenerationService,
protected cryptoFunctionService: CryptoFunctionService, private storageService: StorageService) { }