mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(dts): specify the underlying buffer type in more places (#30640)
This commit is contained in:
parent
e02e4c2042
commit
a3a904da14
6 changed files with 35 additions and 28 deletions
5
cli/tsc/dts/lib.deno.shared_globals.d.ts
vendored
5
cli/tsc/dts/lib.deno.shared_globals.d.ts
vendored
|
@ -450,7 +450,10 @@ interface DOMStringList {
|
|||
}
|
||||
|
||||
/** @category Platform */
|
||||
type BufferSource = ArrayBufferView | ArrayBuffer;
|
||||
type BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;
|
||||
|
||||
/** @category Platform */
|
||||
type AllowSharedBufferSource = ArrayBufferView | ArrayBufferLike;
|
||||
|
||||
/**
|
||||
* A global console object that provides methods for logging, debugging, and error reporting.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue