refactor: rename ConsoleOptions to InspectOptions (#4493)

This commit is contained in:
Chris Knight 2020-03-26 00:48:47 +00:00 committed by GitHub
parent fd432e2346
commit a053462566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 14 deletions

View file

@ -887,7 +887,7 @@ declare namespace __blob {
}
declare namespace __console {
type ConsoleOptions = Partial<{
type InspectOptions = Partial<{
showHidden: boolean;
depth: number;
colors: boolean;
@ -970,7 +970,7 @@ declare namespace __console {
* `inspect()` converts input into string that has the same format
* as printed by `console.log(...)`;
*/
export function inspect(value: unknown, options?: ConsoleOptions): string;
export function inspect(value: unknown, options?: InspectOptions): string;
}
declare namespace __event {