mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix baseConfig type in CLIEngine.Options
This commit is contained in:
parent
08a78468d1
commit
d9e17e2164
@ -446,6 +446,7 @@ let cli: CLIEngine;
|
||||
|
||||
cli = new CLIEngine({ allowInlineConfig: false });
|
||||
cli = new CLIEngine({ baseConfig: false });
|
||||
cli = new CLIEngine({ baseConfig: { extends: ['lynt'] }});
|
||||
cli = new CLIEngine({ cache: true });
|
||||
cli = new CLIEngine({ cacheFile: 'foo' });
|
||||
cli = new CLIEngine({ configFile: 'foo' });
|
||||
|
||||
2
types/eslint/index.d.ts
vendored
2
types/eslint/index.d.ts
vendored
@ -483,7 +483,7 @@ export class CLIEngine {
|
||||
export namespace CLIEngine {
|
||||
class Options {
|
||||
allowInlineConfig?: boolean;
|
||||
baseConfig?: boolean;
|
||||
baseConfig?: false | { [name: string]: any };
|
||||
cache?: boolean;
|
||||
cacheFile?: string;
|
||||
cacheLocation?: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user