mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
refactor: rename ConsoleOptions to InspectOptions (#4493)
This commit is contained in:
parent
fd432e2346
commit
a053462566
3 changed files with 41 additions and 14 deletions
4
cli/js/lib.deno.shared_globals.d.ts
vendored
4
cli/js/lib.deno.shared_globals.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue