@xaendar/types 0.5.6 → 0.5.8
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.
|
@@ -69,7 +69,7 @@ export declare type Constructor<T extends object = object, Statics extends Recor
|
|
|
69
69
|
|
|
70
70
|
export declare type ContainsChar<String extends string, Contains extends string> = String extends `${infer First}${infer Rest}` ? First extends Contains ? true : ContainsChar<Rest, Contains> : false;
|
|
71
71
|
|
|
72
|
-
export declare type Dictionary<Key extends string | number, Value> = {
|
|
72
|
+
export declare type Dictionary<Key extends string | number, Value = string> = {
|
|
73
73
|
[K in Key]?: Value;
|
|
74
74
|
};
|
|
75
75
|
|