@cds/core
Version:
Clarity Design System - common components, themes, and utilties
16 lines (15 loc) • 347 B
TypeScript
declare global {
interface Array<T> {
at(o: number): T;
}
}
/**
* Polyfill for Safari
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
*/
export declare function at(this: {
value: (n: any) => any;
writable: true;
enumerable: false;
configurable: true;
}, n: any): any;