- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
13 lines
365 B
TypeScript
13 lines
365 B
TypeScript
/**
|
|
* Flattens `array` a single level deep.
|
|
*
|
|
* @param {Array} arr The array to flatten.
|
|
* @param {Array} result The array to return.
|
|
* @return {Array} Returns the new flattened array.
|
|
* @example
|
|
*
|
|
* flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
|
|
*/
|
|
declare const flattenDeep: (arr: any[], result?: any[]) => any[];
|
|
export default flattenDeep;
|