(#22289): Remove misleading type definitions (#22377)

### 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:
Marko Vejnovic
2025-09-03 12:22:13 -07:00
committed by GitHub
parent 9978424177
commit 0759da233f

View File

@@ -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,