Initial commit

This commit is contained in:
2021-10-23 19:59:20 +10:00
commit ba4c9a7d7a
1851 changed files with 1250444 additions and 0 deletions

37
node_modules/currency.js/dist/currency.js.flow generated vendored Normal file
View File

@@ -0,0 +1,37 @@
// @flow
declare type $currency$any = number | string | currency;
declare type formatFunction = (currency: currency, options: $currency$opts) => string;
declare type $currency$opts = {
symbol?: string,
separator?: string,
decimal?: string,
errorOnInvalid?: boolean,
precision?: number,
increment?: number,
useVedic?: boolean,
pattern?: string,
negativePattern?: string,
format?: formatFunction,
fromCents?: boolean
}
declare class currency {
static (value: $currency$any, opts?: $currency$opts): currency,
constructor(value: $currency$any, opts?: $currency$opts): currency,
add(number: $currency$any): currency;
subtract(number: $currency$any): currency;
multiply(number: $currency$any): currency;
divide(number: $currency$any): currency;
distribute(count: number): Array<currency>;
dollars(): number;
cents(): number;
format(options?: $currency$opts | formatFunction): string;
toString(): string;
toJSON(): number;
+intValue: number;
+value: number;
}
declare module.exports: typeof currency;