mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
Use ts-expect-error instead of ts-ignore. (#5869)
This commit is contained in:
parent
24c36fd862
commit
228f9c207f
34 changed files with 81 additions and 94 deletions
|
@ -4,7 +4,7 @@ import { unitTest, assert } from "./test_util.ts";
|
|||
unitTest(function internalsExists(): void {
|
||||
const {
|
||||
stringifyArgs,
|
||||
// @ts-ignore TypeScript (as of 3.7) does not support indexing namespaces by symbol
|
||||
// @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol
|
||||
} = Deno[Deno.internal];
|
||||
assert(!!stringifyArgs);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue