- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
7 lines
244 B
TypeScript
7 lines
244 B
TypeScript
export interface ObjectType<T> {
|
|
[key: string]: T[];
|
|
}
|
|
declare function groupBy<T>(data: T[], condition: (item: T) => string): ObjectType<T>;
|
|
declare function groupBy<T>(data: T[], condition: string): ObjectType<T>;
|
|
export default groupBy;
|