summaryrefslogtreecommitdiff
path: root/core/lib.deno_core.d.ts
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-10-21 19:35:23 +0530
committerGitHub <noreply@github.com>2022-10-21 19:35:23 +0530
commit0f27b84a5caa10d9056b7a4f9eace3771f8ea114 (patch)
tree60c51b69e36f520d653185d5ce9769e5311ad111 /core/lib.deno_core.d.ts
parent659a918f39c516fe90cab25facb02325e5e72371 (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 'core/lib.deno_core.d.ts')
-rw-r--r--core/lib.deno_core.d.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts
index 2a3764730..6de3bed4b 100644
--- a/core/lib.deno_core.d.ts
+++ b/core/lib.deno_core.d.ts
@@ -7,12 +7,6 @@
declare namespace Deno {
namespace core {
- /** Call an op in Rust, and synchronously receive the result. */
- function opSync(
- opName: string,
- ...args: any[]
- ): any;
-
/** Call an op in Rust, and asynchronously receive the result. */
function opAsync(
opName: string,