diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-04-28 00:06:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 01:06:03 +0200 |
commit | 4041a7b8576047021c2eec711f013c6f01e471e0 (patch) | |
tree | e49ade03d1d888ea83a9fccf51ba8742a6365cc7 /cli/js/tests/console_test.ts | |
parent | 2f0641885c62ba6a1e58ae0030f635efd3f35b2a (diff) |
BREAKING: Remove Deno.symbols namespace (#4936)
Diffstat (limited to 'cli/js/tests/console_test.ts')
-rw-r--r-- | cli/js/tests/console_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/tests/console_test.ts b/cli/js/tests/console_test.ts index 4a227aafe..264987ba9 100644 --- a/cli/js/tests/console_test.ts +++ b/cli/js/tests/console_test.ts @@ -8,12 +8,12 @@ const { // eslint-disable-next-line @typescript-eslint/no-explicit-any } = Deno as any; -const customInspect = Deno.symbols.customInspect; +const customInspect = Deno.customInspect; const { Console, stringifyArgs, // @ts-ignore TypeScript (as of 3.7) does not support indexing namespaces by symbol -} = Deno[Deno.symbols.internal]; +} = Deno[Deno.internal]; function stringify(...args: unknown[]): string { return stringifyArgs(args).replace(/\n$/, ""); |