mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
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()`.
This commit is contained in:
parent
659a918f39
commit
0f27b84a5c
6 changed files with 7 additions and 22 deletions
2
cli/tsc/compiler.d.ts
vendored
2
cli/tsc/compiler.d.ts
vendored
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue