mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 22:25:24 +00:00
Improved signature for setRelevantDate
This commit is contained in:
@@ -899,10 +899,10 @@ export default class PKPass extends Bundle {
|
||||
* Allows setting a relevant date in which the OS
|
||||
* should show this pass.
|
||||
*
|
||||
* @param date
|
||||
* @param {Date | null} date
|
||||
*/
|
||||
|
||||
public setRelevantDate(date: Date): void {
|
||||
public setRelevantDate(date: Date | null): void {
|
||||
Utils.assertUnfrozen(this);
|
||||
|
||||
if (date === null) {
|
||||
|
||||
Reference in New Issue
Block a user