mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Changed auxiliaryFields getter return type
This commit is contained in:
@@ -287,9 +287,14 @@ export default class PKPass extends Bundle {
|
|||||||
* if no valid pass.json has been parsed yet
|
* if no valid pass.json has been parsed yet
|
||||||
* or, anyway, if a valid type has not been
|
* or, anyway, if a valid type has not been
|
||||||
* set yet.
|
* set yet.
|
||||||
|
*
|
||||||
|
* For Typescript users: this signature allows
|
||||||
|
* in any case to add the 'row' field, but on
|
||||||
|
* runtime they are only allowed on "eventTicket"
|
||||||
|
* passes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public get auxiliaryFields(): Schemas.Field[] {
|
public get auxiliaryFields(): Schemas.FieldWithRow[] {
|
||||||
return this[propsSymbol][this.type].auxiliaryFields;
|
return this[propsSymbol][this.type].auxiliaryFields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user