• Runtime
  • Examples
  • API
  • Lint rules

API reference

  • Ende namespace
    • Cloud
    • Desktop
    • Errors
    • Fetch
    • FFI
    • File System
    • GPU
    • HTTP Server
    • I/O
    • Linter
    • Network
    • Permissions
    • Runtime
    • Subprocess
    • Telemetry
    • Testing
    • WebSockets
  • Web platform APIs
    • Cache
    • Canvas
    • Crypto
    • Encoding
    • Events
    • Fetch
    • File
    • Geometry Interfaces Module API
    • GPU
    • I/O
    • Intl
    • Messaging
    • Performance
    • Platform
    • Storage
    • Streams
    • URL
    • Wasm
    • WebSockets
    • Workers
    • Other
  • Standard library

Ende.StaticForeignSymbol

type alias

type Ende.StaticForeignSymbol<T extends ForeignFunction | ForeignStatic> = T extends ForeignFunction ? FromForeignFunction<T> : T extends ForeignStatic ? FromNativeType<T["type"]> : never

A utility type that infers a foreign symbol.

Source on GitHub