diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-10-21 19:35:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 19:35:23 +0530 |
commit | 0f27b84a5caa10d9056b7a4f9eace3771f8ea114 (patch) | |
tree | 60c51b69e36f520d653185d5ce9769e5311ad111 /cli/tsc | |
parent | 659a918f39c516fe90cab25facb02325e5e72371 (diff) |
chore(core): remove `core.opSync` (#16379)
This patch removes the last uses of `core.opSync` from Deno.
The new and JIT-friendly way to call sync ops is `core.ops.op_name()`.
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/compiler.d.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index ffd4695ae..b550c938b 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -38,8 +38,6 @@ declare global { interface DenoCore { encode(value: string): Uint8Array; // deno-lint-ignore no-explicit-any - opSync<T>(name: string, params: T): any; - // deno-lint-ignore no-explicit-any ops: Record<string, (...args: unknown[]) => any>; print(msg: string, stderr: boolean): void; registerErrorClass( |