taxtank-core 0.28.21 → 0.28.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,12 @@
1
1
  import { DepreciationGroup } from './depreciation-group';
2
2
  import { Depreciation } from './depreciation';
3
3
  /**
4
+ * @TODO Alex useless class, use parent instead
4
5
  * Depreciation Tree node with depreciation details
5
6
  */
6
7
  export declare class DepreciationGroupItem extends DepreciationGroup {
7
8
  depreciation: Depreciation;
8
9
  constructor(depreciation: Depreciation);
9
10
  getClaimAmount(): number;
11
+ getAmount(): number;
10
12
  }
@@ -10,4 +10,5 @@ export declare class DepreciationGroup {
10
10
  openingValue: number;
11
11
  constructor(label: string, description?: string, icon?: string, children?: DepreciationGroup[], totalCost?: number, openingValue?: number);
12
12
  getClaimAmount(): number;
13
+ getAmount(): number;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.21",
3
+ "version": "0.28.22",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",