Deno logo
DeployManualBlogAPIStandard LibraryThird Party Modules

Deno CLI APIs (unstable)

Version

latest

StaticForeignFunctionResult

  • Type Parameters
  • Type

Deno.StaticForeignFunctionResult

Infers a foreign function return type

type StaticForeignFunctionResult<T extends NativeType> = T extends "void" ? void : T extends StaticNativeNumberType ? number : T extends "pointer" ? UnsafePointer : never;

§Type Parameters

§
T extends NativeType
[src]

§Type

§
T extends "void" ? void : T extends StaticNativeNumberType ? number : T extends "pointer" ? UnsafePointer : never
[src]
Manual
API
Standard Library
Third Party Modules
Benchmarks
Artwork
Blog
Translations
System Status
Companies interested in Deno