Skip to content

feat: add recurrences grouped by tax on total_details #168

feat: add recurrences grouped by tax on total_details

feat: add recurrences grouped by tax on total_details #168

Triggered via pull request January 5, 2024 10:05
Status Failure
Total duration 34s
Artifacts

ci.yml

on: pull_request
Matrix: Test
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Test (16.x): src/pricing.ts#L266
Type '{ taxes: never[]; recurrences: never[]; recurrencesByTax: never[]; }' is not assignable to type '{ taxes?: TaxAmountBreakdown[] | undefined; recurrences?: RecurrenceAmount[] | undefined; }'.
Test (16.x): src/pricing.ts#L380
Property 'recurrencesByTax' does not exist on type '{ taxes?: TaxAmountBreakdown[] | undefined; recurrences?: RecurrenceAmount[] | undefined; }'.
Test (16.x): src/pricing.ts#L479
Type '{ taxes: Components.Schemas.TaxAmountBreakdown[]; recurrences: Components.Schemas.RecurrenceAmount[]; recurrencesByTax: any[]; }' is not assignable to type '{ taxes?: TaxAmountBreakdown[] | undefined; recurrences?: RecurrenceAmount[] | undefined; }'.
Test (16.x): src/pricing.ts#L502
Type '{ taxes: never[]; recurrences: never[]; recurrencesByTax: never[]; }' is not assignable to type '{ taxes?: TaxAmountBreakdown[] | undefined; recurrences?: RecurrenceAmount[] | undefined; }'.
Test (16.x): src/pricing.ts#L729
Type '{ taxes: { amount: number; rate?: string | undefined; rateValue?: number | undefined; tax?: Components.Schemas.TaxBreakdownInfo | undefined; }[] | undefined; recurrences: { ...; }[] | undefined; recurrencesByTax: any; }' is not assignable to type '{ taxes?: TaxAmountBreakdown[] | undefined; recurrences?: RecurrenceAmount[] | undefined; }'.
Test (16.x): src/pricing.ts#L729
Property 'recurrencesByTax' does not exist on type '{ taxes?: TaxAmountBreakdown[] | undefined; recurrences?: RecurrenceAmount[] | undefined; }'.
Test (16.x): src/pricing.ts#L729
Parameter 'recurrence' implicitly has an 'any' type.
Test (16.x)
Process completed with exit code 2.
Test (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/