Add code to check for the max bits on each donation

This commit is contained in:
Tyler-A 2020-01-19 00:29:20 -06:00
parent 7933b54a8b
commit fe5221ed38
2 changed files with 22 additions and 7 deletions

5
src/types.d.ts vendored
View file

@ -1,14 +1,15 @@
//
// types.d.ts
//
// Written by: Tyler Akins (2020/01/06)
// Written by: Tyler Akins (2020/01/06 - 2020/01/18)
//
interface data {
[key: string]: {
max: [string, number];
donations: number[];
total_bits: number;
donators: string[];
donations: number[];
};
}