@guardian/feast-multiplatform-library 6.0.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,12 +38,14 @@ export declare namespace com.gu.recipe.template {
38
38
  const constructor: abstract new () => TemplateConst;
39
39
  }
40
40
  class QuantityPlaceholder implements com.gu.recipe.template.TemplateElement {
41
- constructor(min: number, max?: Nullable<number>, unit?: Nullable<string>, scale?: boolean);
41
+ constructor(min: number, max?: Nullable<number>, unit?: Nullable<string>, scale?: boolean, ingredient?: Nullable<string>, usCust?: Nullable<boolean>);
42
42
  get min(): number;
43
43
  get max(): Nullable<number>;
44
44
  get unit(): Nullable<string>;
45
45
  get scale(): boolean;
46
- copy(min?: number, max?: Nullable<number>, unit?: Nullable<string>, scale?: boolean): com.gu.recipe.template.QuantityPlaceholder;
46
+ get ingredient(): Nullable<string>;
47
+ get usCust(): Nullable<boolean>;
48
+ copy(min?: number, max?: Nullable<number>, unit?: Nullable<string>, scale?: boolean, ingredient?: Nullable<string>, usCust?: Nullable<boolean>): com.gu.recipe.template.QuantityPlaceholder;
47
49
  toString(): string;
48
50
  hashCode(): number;
49
51
  equals(other: Nullable<any>): boolean;