fix(alert): name is non-null

This commit is contained in:
Manu Mtz.-Almeida
2018-08-29 18:36:59 +02:00
parent 802df8ac73
commit 2268346a8e

View File

@@ -300,7 +300,7 @@ export class Alert implements OverlayInterface {
// return an object of all the values with the input name as the key
const values: {[k: string]: string} = {};
this.processedInputs.forEach(i => {
values[i.name] = i.value || '';
values[i.name!] = i.value || '';
});
return values;
}