Fix: file extenstions in imports

This commit is contained in:
Felix Kaspar
2024-02-23 23:55:29 +01:00
parent 644e0ceae9
commit 20f027bb5a
13 changed files with 25 additions and 24 deletions

View File

@@ -2,7 +2,7 @@ import { Operator } from "../functions";
import i18next from "i18next";
function getCompileTimeOperatorList(): string[] {
return import.meta.compileTime("./listOperatorsInDir.ts");
return import.meta.compileTime("./listOperatorsInDir.ts"); // The will compile to ["impose", "extractPages", etc...]
}
export async function getOperatorByName(name: string): Promise<typeof Operator | undefined> {