diff options
author | 2023-01-01 15:03:45 +0800 | |
---|---|---|
committer | 2022-12-31 23:03:45 -0800 | |
commit | 8a2729e75f589c6edb93664fc1863c12c72400a9 (patch) | |
tree | cb62d0f420259cdd7620eb86123fa02756f5bd0d | |
parent | 9b3db963081d5556a9fca41e5baa2670cc5cba49 (diff) | |
download | bun-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.ts | 4 |
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 { /** |