UNPKG

378 BTypeScriptView Raw
1import type { Browser } from 'webdriverio';
2/**
3 * global function to wrap callbacks into Fiber context
4 * @param {Function} fn function to wrap around
5 * @return {Function} wrapped around function
6 */
7export default function runFnInFiberContext(fn: Function): (this: Browser<'async'>, ...args: any[]) => Promise<unknown>;
8//# sourceMappingURL=runFnInFiberContext.d.ts.map
\No newline at end of file