Array.prototype.flat
/ Array.prototype.flatMap
class Array {
flat(depthArg?: number = 1): Array<mixed>;
flatMap(mapFn: (value: any, index: number, target: any) => any, thisArg: any): Array<mixed>;
}
CommonJS entry points
core-js/proposals/array-flat-map