mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Added .load type definition
This commit is contained in:
10
index.d.ts
vendored
10
index.d.ts
vendored
@@ -55,6 +55,16 @@ export declare class Pass {
|
||||
* @see https://apple.co/2wTxiaC
|
||||
*/
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user