eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
7 lines (6 loc) • 312 B
TypeScript
export declare const collectionConstructor: string[];
export declare const writingMethods: string[];
export declare const sortLike: string[];
export declare const copyingSortLike: string[];
export declare function flatMap<A, B>(xs: A[], f: (e: A) => B[]): B[];
export declare function last<T>(arr: Array<T>): T;