Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
@rspack
/
core
/
dist
/
util
/
Filename :
smartGrouping.d.ts
back
Copy
/** * The following code is modified based on * https://github.com/webpack/webpack/tree/4b4ca3bb53f36a5b8fc6bc1bd976ed7af161bd80/lib/util * * MIT Licensed * Author Tobias Koppers @sokra * Copyright (c) JS Foundation and other contributors * https://github.com/webpack/webpack/blob/main/LICENSE */ type GroupOptions = { groupChildren?: boolean | undefined; force?: boolean | undefined; targetGroupCount?: number | undefined; }; export type GroupConfig = { getKeys: (arg0: any) => string[] | undefined; createGroup: <T, R>(arg0: string, arg1: (T | R)[], arg2: T[]) => R; getOptions?: (<T>(arg0: string, arg1: T[]) => GroupOptions) | undefined; }; export declare const smartGrouping: <T, R>(items: T[], groupConfigs: GroupConfig[]) => (T | R)[]; export {};