mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
change interface to type
This commit is contained in:
Vendored
+2
-6
@@ -31,13 +31,9 @@ declare namespace BrowserBunyan {
|
||||
css?: Partial<ConsoleFormattedStreamStyle>;
|
||||
}
|
||||
|
||||
interface ConsoleFormattedStream {
|
||||
new(options?: ConsoleFormattedStreamOptions): NodeJS.WritableStream;
|
||||
}
|
||||
type ConsoleFormattedStream = new(options?: ConsoleFormattedStreamOptions) => NodeJS.WritableStream;
|
||||
|
||||
interface ConsoleRawStream {
|
||||
new(options?: ConsoleFormattedStreamOptions): NodeJS.WritableStream;
|
||||
}
|
||||
type ConsoleRawStream = new(options?: ConsoleFormattedStreamOptions) => NodeJS.WritableStream;
|
||||
}
|
||||
|
||||
type BrowserBunyan = typeof bunyan & {
|
||||
|
||||
Reference in New Issue
Block a user