@dxtmisha/functional-basic 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -3
- package/ai-description.md +5 -7
- package/ai-doc.md +1 -1
- package/ai-mcp-resources.json +5 -5
- package/ai-resources/design-config.md +7 -0
- package/ai-types.md +2583 -1
- package/dist/library.d.ts +6 -0
- package/dist/library.js +842 -805
- package/package.json +2 -2
package/dist/library.d.ts
CHANGED
|
@@ -4101,6 +4101,12 @@ export declare type FunctionAnyType<T = any, R = any> = (...args: T[]) => R;
|
|
|
4101
4101
|
*/
|
|
4102
4102
|
export declare type FunctionArgs<T, R> = (...args: T[]) => R;
|
|
4103
4103
|
|
|
4104
|
+
/**
|
|
4105
|
+
* Generic type that can be either a direct value or a function returning that value/
|
|
4106
|
+
* Дженерик тип для прямого значения или функции, возвращающей это значение
|
|
4107
|
+
*/
|
|
4108
|
+
export declare type FunctionOr<T = any> = T | FunctionReturn<T>;
|
|
4109
|
+
|
|
4104
4110
|
/**
|
|
4105
4111
|
* Function type that returns a value of type R/
|
|
4106
4112
|
* Тип функции, возвращающей значение типа R
|