Infers a foreign symbol
Type Parameters
T extends ForeignFunction | ForeignStatic
definition: T extends ForeignFunction ? (...args: StaticForeignFunctionParameters<T["parameters"]>) => ConditionalAsync<T["nonblocking"], StaticForeignFunctionResult<T["result"]>> : T extends ForeignStatic ? StaticForeignFunctionResult<T["type"]> : never