aboutsummaryrefslogtreecommitdiff
path: root/formats.ts
diff options
context:
space:
mode:
Diffstat (limited to 'formats.ts')
-rw-r--r--formats.ts33
1 files changed, 0 insertions, 33 deletions
diff --git a/formats.ts b/formats.ts
deleted file mode 100644
index b5a24bf..0000000
--- a/formats.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-interface Format {
- parse_coverage: (file: Document) => number;
-}
-
-interface FormatList {
- [key: string]: Format
-}
-
-interface FormatObj {
- formats: FormatList,
- list_formats: () => string[],
- get_format: (format: string) => Format,
-}
-
-const FormatsObj: FormatObj = {
- formats: {
- tarpaulin: {
- parse_coverage: (file: Document) => {
- return 0.0;
- }
- },
- },
-
- list_formats: function () {
- return Object.keys(this.formats);
- },
-
- get_format: function (format: string) {
- return this.formats[format];
- }
-}
-
-export default FormatsObj; \ No newline at end of file