Added PassWithLengthField interface

This commit is contained in:
Alexander Cerutti
2019-06-15 23:33:06 +02:00
parent e83906102c
commit 2c2e4ef79d

View File

@@ -25,7 +25,11 @@ interface PassIndexSignature {
[key: string]: any; [key: string]: any;
} }
export interface PassWithBarcodeMethods extends Pass { export interface PassWithLengthField extends Pass {
length: number;
}
export interface PassWithBarcodeMethods extends PassWithLengthField {
backward: (format: schema.BarcodeFormat) => Pass; backward: (format: schema.BarcodeFormat) => Pass;
autocomplete: () => Pass; autocomplete: () => Pass;
} }