amis-rpc-design/node_modules/fast-glob/out/utils/array.d.ts

3 lines
145 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export declare function flatten<T>(items: T[][]): T[];
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];