Skip to content

Commit

Permalink
fix: insert interfaces into main.js so that compiler works
Browse files Browse the repository at this point in the history
  • Loading branch information
eeriemyxi committed Oct 22, 2024
1 parent 8e4748e commit 3a42d36
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/main.d.ts

This file was deleted.

18 changes: 18 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ import { dirname, join } from "jsr:@std/path";
import { LoggerMod } from "./logger.ts";
import { construct_cela_cli } from "./cela_cli.ts";

interface ParserConfig {
name: string;
scripts: {
fetcher: {
program: string;
args: string;
};
updater: {
program: string;
args: string;
};
};
}

interface CelaConfig {
parsers_dir: string;
}

export const AppInfo = {
INSTALL_DOC_LINK: "https://myxi-cela.pages.dev/custom-parsers/",
PARSERS_DOC_LINK: "https://myxi-cela.pages.dev/custom-parsers/",
Expand Down

0 comments on commit 3a42d36

Please sign in to comment.