register.d.ts 411 B

123456789101112
  1. import { ExplicitParams } from "./config-loader";
  2. export interface RegisterParams extends ExplicitParams {
  3. /**
  4. * Defaults to `--project` CLI flag or `process.cwd()`
  5. */
  6. cwd?: string;
  7. }
  8. /**
  9. * Installs a custom module load function that can adhere to paths in tsconfig.
  10. * Returns a function to undo paths registration.
  11. */
  12. export declare function register(params?: RegisterParams): () => void;