Strict init (#80190)

* strict init

* more strict props
This commit is contained in:
Benjamin Pasero
2019-09-02 09:24:43 +02:00
committed by GitHub
parent bdb2822496
commit 1cba911717
45 changed files with 128 additions and 118 deletions

View File

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