UNPKG

jsmodern

Version:

An extension to existing JavaScript, influenced by other great languages such as Rust, Dart, Java, Golang, etc.

9 lines 265 B
import { PrototypeStruct } from '..'; export declare type LastItemFn<T> = () => T | undefined; export declare const lastItem: PrototypeStruct; declare global { interface Array<T> { lastItem: LastItemFn<T>; } } //# sourceMappingURL=last-item.d.ts.map