We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbfa7d9 commit cea6b1eCopy full SHA for cea6b1e
types/index.d.ts
@@ -86,7 +86,7 @@ declare namespace Bree {
86
type JobOptions = Required<Pick<Job, 'name'>> & Partial<Omit<Job, 'name'>>;
87
88
interface BreeConfigs {
89
- logger: Record<string, unknown> | boolean;
+ logger: BreeLogger | boolean;
90
root: string | boolean;
91
silenceRootCheckError: boolean;
92
doRootCheck: boolean;
@@ -114,4 +114,10 @@ declare namespace Bree {
114
type PluginFunc<T = unknown> = (options: T, c: typeof Bree) => void;
115
116
function extend<T = unknown>(plugin: PluginFunc<T>, options?: T): Bree;
117
+
118
+ interface BreeLogger {
119
+ info: (...args: any[]) => any;
120
+ warn: (...args: any[]) => any;
121
+ error: (...args: any[]) => any;
122
+ }
123
}
0 commit comments