mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
chore(core): optional args for registerErrorClass (#9602)
This commit is contained in:
parent
aa47f8186c
commit
975705a649
4 changed files with 16 additions and 11 deletions
7
cli/tsc/compiler.d.ts
vendored
7
cli/tsc/compiler.d.ts
vendored
|
@ -37,7 +37,12 @@ declare global {
|
|||
jsonOpSync<T>(name: string, params: T): any;
|
||||
ops(): void;
|
||||
print(msg: string, code?: number): void;
|
||||
registerErrorClass(name: string, Ctor: typeof Error): void;
|
||||
registerErrorClass(
|
||||
name: string,
|
||||
Ctor: typeof Error,
|
||||
// deno-lint-ignore no-explicit-any
|
||||
...args: any[]
|
||||
): void;
|
||||
}
|
||||
|
||||
type LanguageServerRequest =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue