1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

fix(ext/ffi): missing "buffer" type definitions (#12371)

This commit is contained in:
Divy Srivastava 2021-10-08 20:02:57 +05:30 committed by GitHub
parent 74e5b68682
commit 2155e7545f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ declare namespace Deno {
/** A foreign function as defined by its parameter and result types */
export interface ForeignFunction {
parameters: NativeType[];
parameters: (NativeType | "buffer")[];
result: NativeType;
}