This fixes the constant eslint error and warnings in the repository. It is mostly a temporally solution rather than a actual refactor, so a lot of eslint-disable comments where used.
18 lines
421 B
TypeScript
18 lines
421 B
TypeScript
import type { CliArgs } from './src/types';
|
|
|
|
/**
|
|
* Class that handles the creation and running the ESLegant command line interface.
|
|
*/
|
|
export default class Cli {
|
|
/**
|
|
* @param args - Arguments to pass to the cli when its runs.
|
|
*/
|
|
public constructor(args: CliArgs);
|
|
/**
|
|
* Runs the cli with the given arguments.
|
|
*/
|
|
public async run(): Promise<void>;
|
|
}
|
|
|
|
export type { CliArgs, Config } from './src/types.d.ts';
|