debt - a bit more strict init

This commit is contained in:
Benjamin Pasero
2019-09-16 08:33:49 +02:00
parent d157c2e941
commit b644486174
7 changed files with 19 additions and 29 deletions

View File

@@ -24,7 +24,7 @@ class LocalStorageCredentialsProvider implements ICredentialsProvider {
static readonly CREDENTIALS_OPENED_KEY = 'credentials.provider';
private _credentials: ICredential[];
private _credentials!: ICredential[];
private get credentials(): ICredential[] {
if (!this._credentials) {
try {