mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 03:51:24 +08:00
http://crrev.com/c/5898986 is currently failing presubmit on win bot because command line command for clang format gets too long. It looks like `git cl format` is running for all changes files ignoring the .clang-format Disable-Format directive in node_modules/ Bug: 370734442 Change-Id: Ia790c5998a4d25b42f2f14efc56df26cefa540f5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5907633 Commit-Queue: Danil Somsikov <dsv@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>
17 lines
472 B
TypeScript
17 lines
472 B
TypeScript
/**
|
|
* Flattens an array.
|
|
* Use this function to keep support for node 10
|
|
* @param items
|
|
*/
|
|
export declare function arrayFlat<T>(items: (T[] | T)[]): T[];
|
|
/**
|
|
* Filters an array returning only defined items
|
|
* @param array
|
|
*/
|
|
export declare function arrayDefined<T>(array: (T | undefined)[]): T[];
|
|
/**
|
|
* Filters an array returning only unique itesm
|
|
* @param array
|
|
*/
|
|
export declare function arrayDedupe<T>(array: T[]): T[];
|
|
//# sourceMappingURL=array-util.d.ts.map
|