Files
react-native-devtools-frontend/node_modules/web-component-analyzer/lib/cjs/util/array-util.d.ts
T
Danil Somsikov 2a0e55eb29 Add web-component-analyzer explicitly first, to workaround win presubmit issue.
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>
2024-10-07 10:48:55 +00:00

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