Added .load type definition

This commit is contained in:
Alexander Cerutti
2018-11-17 23:21:07 +01:00
parent 8398e077b1
commit 4b2aa68ffb

10
index.d.ts vendored
View File

@@ -55,6 +55,16 @@ export declare class Pass {
* @see https://apple.co/2wTxiaC * @see https://apple.co/2wTxiaC
*/ */
nfc(...data: Schema.NFC[]): this; nfc(...data: Schema.NFC[]): this;
/**
* Sets resources to be downloaded right inside
* the pass archive.
* @param resource - url
* @param name - name to be used inside the archive
* @returns this;
*/
load(resource, name): this;
} }
declare class FieldContainer { declare class FieldContainer {