Marked amount as abstract

ref #11
This commit is contained in:
Nicolai Ort 2020-12-01 17:50:43 +01:00
parent daea0568a8
commit a8d1ec6f9b
1 changed files with 1 additions and 2 deletions

View File

@ -31,6 +31,5 @@ export abstract class Donation {
* The donation's amount in cents (or whatever your currency's smallest unit is.).
* The exact implementation may differ for each type of donation.
*/
@IsInt()
amount: number;
abstract amount: number;
}