Skip to content

Commit

Permalink
fixed ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoScheuermann committed Apr 29, 2021
1 parent 16e6573 commit c2e97ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/views/clearing/Clearing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export default class Clearing extends Vue {
}
format(n: number): string {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
return Intl.NumberFormat('en-GB', { notation: 'compact' }).format(n);
}
Expand Down
6 changes: 4 additions & 2 deletions src/views/invoice/Invoice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<template slot="head">
<tc-th>Monat</tc-th>
<tc-th>Jahr</tc-th>
<tc-th>Buy Volume</tc-th>
<tc-th>Sell Volume</tc-th>
<tc-th>Amount</tc-th>
<tc-th>Information</tc-th>
</template>
<tc-tr
v-for="i in invoices.filter(x => x.brokerId === b.id)"
Expand Down Expand Up @@ -59,6 +59,8 @@ export default class Invoice extends Vue {
}
format(n: number): string {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
return Intl.NumberFormat('en-GB', { notation: 'compact' }).format(n);
}
Expand Down

0 comments on commit c2e97ae

Please sign in to comment.