mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-16 06:26:09 +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
|
* @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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user