diff --git a/types/carbone/carbone-tests.ts b/types/carbone/carbone-tests.ts index 2e734c5c05ca99..8b6e78a653f25e 100644 --- a/types/carbone/carbone-tests.ts +++ b/types/carbone/carbone-tests.ts @@ -9,6 +9,9 @@ const lang = 'pl'; const timezone = 'Asia/Tokyo'; const tempPath = '/tmp'; const templatePath = './templates'; +const factories = 2; +const startFactory = true; +const attempts = 2; const emptyCurrencyRates = {}; const currencyRates = { @@ -68,6 +71,9 @@ const options: carbone.Options = { currencySource, currencyTarget, currencyRates, + factories, + startFactory, + attempts }; const emptyRenderOptions: carbone.RenderOptions = {}; diff --git a/types/carbone/index.d.ts b/types/carbone/index.d.ts index 00cd657222080a..471ca978778c60 100644 --- a/types/carbone/index.d.ts +++ b/types/carbone/index.d.ts @@ -54,6 +54,9 @@ export interface Options { currencySource?: string | undefined; currencyTarget?: string | undefined; currencyRates?: CurrencyRates | undefined; + factories?: number | undefined; + startFactory?: boolean | undefined; + attempts?: number | undefined; } export function set(options: Options): void; export function reset(): void;