eta
Version:
Lightweight, fast, and powerful embedded JS template engine
25 lines • 634 B
TypeScript
/**
* @returns The global Promise function
*/
export declare const promiseImpl: PromiseConstructor;
/**
* @returns A new AsyncFunction constuctor
*/
export declare function getAsyncFunctionConstructor(): Function;
/**
* str.trimLeft polyfill
*
* @param str - Input string
* @returns The string with left whitespace removed
*
*/
export declare function trimLeft(str: string): string;
/**
* str.trimRight polyfill
*
* @param str - Input string
* @returns The string with right whitespace removed
*
*/
export declare function trimRight(str: string): string;
//# sourceMappingURL=polyfills.d.ts.map