declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
10 lines (9 loc) • 313 B
TypeScript
/**
* .what = runs `import(filePath)` on the file path
* .why = enables dynamic import of practice declaration files at runtime
*
* .note = node 22.7+ handles typescript via --experimental-strip-types
*/
export declare const importExportsFromFile: ({ filePath, }: {
filePath: string;
}) => Promise<any>;