Removed optional chaining from transitType getter to make it crash if boardingPass does not exist

This commit is contained in:
Alexander Cerutti
2021-10-23 00:41:22 +02:00
parent 53b0c8e1fd
commit bf2f72b14d

View File

@@ -219,7 +219,7 @@ export default class PKPass extends Bundle {
*/
public get transitType() {
return this[propsSymbol]["boardingPass"]?.transitType;
return this[propsSymbol]["boardingPass"].transitType;
}
/**