Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions types/carbone/carbone-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -68,6 +71,9 @@ const options: carbone.Options = {
currencySource,
currencyTarget,
currencyRates,
factories,
startFactory,
attempts
};

const emptyRenderOptions: carbone.RenderOptions = {};
Expand Down
3 changes: 3 additions & 0 deletions types/carbone/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down