Newer
Older
vue-indexer / node_modules / degenerator / dist / degenerator.d.ts
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 523 bytes v1.0
export type DegeneratorName = string | RegExp;
export type DegeneratorNames = DegeneratorName[];
/**
 * Compiles sync JavaScript code into JavaScript with async Functions.
 *
 * @param {String} code JavaScript string to convert
 * @param {Array} names Array of function names to add `await` operators to
 * @return {String} Converted JavaScript string with async/await injected
 * @api public
 */
export declare function degenerator(code: string, _names: DegeneratorNames): string;
//# sourceMappingURL=degenerator.d.ts.map