@bemedev/typings 0.4.2 → 0.5.1
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/lib/types.d.ts +1 -0
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export type StandardHelper<T = any> = {
|
|
|
95
95
|
value: T;
|
|
96
96
|
} & StandardSchemaV1<T, T>;
|
|
97
97
|
export type Sh<T = any> = StandardHelper<T>;
|
|
98
|
+
export type StandardOutput<T = any> = StandardSchemaV1<any, T>;
|
|
98
99
|
export type inferO<T extends ObjectT = ObjectT> = ObjectT extends T ? unknown : TransformT<T>;
|
|
99
100
|
export type inferSh<T extends ObjectT = ObjectT> = Sh<inferO<T>>;
|
|
100
101
|
export type inferT<T extends Sh> = T['value'];
|