mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
refactor(core): convert core.print() to a builtin op (#10436)
This commit is contained in:
parent
c9ac851b90
commit
ea917384fe
6 changed files with 32 additions and 46 deletions
2
cli/tsc/compiler.d.ts
vendored
2
cli/tsc/compiler.d.ts
vendored
|
@ -36,7 +36,7 @@ declare global {
|
|||
// deno-lint-ignore no-explicit-any
|
||||
opSync<T>(name: string, params: T): any;
|
||||
ops(): void;
|
||||
print(msg: string, code?: number): void;
|
||||
print(msg: string, stderr: bool): void;
|
||||
registerErrorClass(
|
||||
name: string,
|
||||
Ctor: typeof Error,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue