aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Gabriel Wu <qqbbnease1004@126.com> 2023-01-01 15:03:45 +0800
committerGravatar GitHub <noreply@github.com> 2022-12-31 23:03:45 -0800
commit8a2729e75f589c6edb93664fc1863c12c72400a9 (patch)
treecb62d0f420259cdd7620eb86123fa02756f5bd0d
parent9b3db963081d5556a9fca41e5baa2670cc5cba49 (diff)
downloadbun-8a2729e75f589c6edb93664fc1863c12c72400a9.tar.gz
bun-8a2729e75f589c6edb93664fc1863c12c72400a9.tar.zst
bun-8a2729e75f589c6edb93664fc1863c12c72400a9.zip
Update ffi.d.ts (#1694)
* Update ffi.d.ts Add "usize" and "callback", which are used in `README` but not typed here. * Update packages/bun-types/ffi.d.ts Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
-rw-r--r--packages/bun-types/ffi.d.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/bun-types/ffi.d.ts b/packages/bun-types/ffi.d.ts
index 316673b9e..19337fab1 100644
--- a/packages/bun-types/ffi.d.ts
+++ b/packages/bun-types/ffi.d.ts
@@ -374,7 +374,9 @@ declare module "bun:ffi" {
| "pointer"
| "void"
| "cstring"
- | "function";
+ | "function"
+ | "usize"
+ | "callback";
interface FFIFunction {
/**