© 2026 Hedgehog Software, LLC
interface SomeInterface { foo(...args): Promise<void>, bar(...args): void ... }
SomeInterface
function wrapper(func: FuncOfSomeInterface): ResultOfFunc { ...do smth here const result = func(...args) ...do smth here return result }