summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 466e72c8f..72f5fc058 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -696,9 +696,9 @@ declare namespace Deno {
* @category FFI
*/
export class UnsafePointerView {
- constructor(pointer: bigint);
+ constructor(pointer: PointerValue);
- pointer: bigint;
+ pointer: PointerValue;
/** Gets a boolean at the specified byte offset from the pointer. */
getBool(offset?: number): boolean;
@@ -752,10 +752,10 @@ declare namespace Deno {
* @category FFI
*/
export class UnsafeFnPointer<Fn extends ForeignFunction> {
- pointer: bigint;
+ pointer: PointerValue;
definition: Fn;
- constructor(pointer: bigint, definition: Fn);
+ constructor(pointer: PointerValue, definition: Fn);
call: FromForeignFunction<Fn>;
}
@@ -806,7 +806,7 @@ declare namespace Deno {
>,
);
- pointer: bigint;
+ pointer: PointerValue;
definition: Definition;
callback: UnsafeCallbackFunction<
Definition["parameters"],