mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 17:25:21 +00:00
Added pool declaration for FieldsArray
This commit is contained in:
@@ -11,6 +11,8 @@ const fieldsDebug = debug("passkit:fields");
|
||||
const poolSymbol = Symbol("pool");
|
||||
|
||||
export default class FieldsArray extends Array {
|
||||
private [poolSymbol]: Set<string>;
|
||||
|
||||
constructor(pool: Set<string>, ...args: any[]) {
|
||||
super(...args);
|
||||
this[poolSymbol] = pool;
|
||||
|
||||
Reference in New Issue
Block a user