.
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import type { AsyncLocalStorage } from 'async_hooks';
|
||||
import { consoleAsyncStorageInstance } from './console-async-storage-instance';
|
||||
export interface ConsoleStore {
|
||||
/**
|
||||
* if true the color of logs output will be dimmed to indicate the log is
|
||||
* from a repeat or validation render that is not typically relevant to
|
||||
* the primary action the server is taking.
|
||||
*/
|
||||
readonly dim: boolean;
|
||||
}
|
||||
export type ConsoleAsyncStorage = AsyncLocalStorage<ConsoleStore>;
|
||||
export { consoleAsyncStorageInstance as consoleAsyncStorage };
|
||||
Reference in New Issue
Block a user