mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
### What does this PR do? Remove incorrect jsdoc. A user was mislead by the docblocks in the `ffi.d.ts` file https://github.com/oven-sh/bun/issues/22289#issuecomment-3250221597 and this PR attempts to fix that. ### How did you verify your code works? Tests already appear to exist for all of these types in `ffi.test.js`.
This commit is contained in:
19
packages/bun-types/ffi.d.ts
vendored
19
packages/bun-types/ffi.d.ts
vendored
@@ -219,44 +219,39 @@ declare module "bun:ffi" {
|
||||
|
||||
/**
|
||||
* int64 is a 64-bit signed integer
|
||||
*
|
||||
* This is not implemented yet!
|
||||
*/
|
||||
int64_t = 7,
|
||||
/**
|
||||
* i64 is a 64-bit signed integer
|
||||
*
|
||||
* This is not implemented yet!
|
||||
*/
|
||||
i64 = 7,
|
||||
|
||||
/**
|
||||
* 64-bit unsigned integer
|
||||
*
|
||||
* This is not implemented yet!
|
||||
*/
|
||||
uint64_t = 8,
|
||||
/**
|
||||
* 64-bit unsigned integer
|
||||
*
|
||||
* This is not implemented yet!
|
||||
*/
|
||||
u64 = 8,
|
||||
|
||||
/**
|
||||
* Doubles are not supported yet!
|
||||
* IEEE-754 double precision float
|
||||
*/
|
||||
double = 9,
|
||||
|
||||
/**
|
||||
* Doubles are not supported yet!
|
||||
* Alias of {@link FFIType.double}
|
||||
*/
|
||||
f64 = 9,
|
||||
|
||||
/**
|
||||
* Floats are not supported yet!
|
||||
* IEEE-754 single precision float
|
||||
*/
|
||||
float = 10,
|
||||
|
||||
/**
|
||||
* Floats are not supported yet!
|
||||
* Alias of {@link FFIType.float}
|
||||
*/
|
||||
f32 = 10,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user