web-component-wrapper 0.0.509 → 0.0.510

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-component-wrapper",
3
- "version": "0.0.509",
3
+ "version": "0.0.510",
4
4
  "description": "Generic web-component base class and framework specific wrapper.",
5
5
  "keywords": [
6
6
  "component",
package/type.d.ts CHANGED
@@ -19,7 +19,7 @@ export type EventMapper<E extends Mapping<unknown> = Mapping<unknown>, I extends
19
19
  export type EventToPropertyMapping<E extends Mapping<unknown> = Mapping<unknown>, I extends Mapping<unknown> = Mapping<unknown>, P extends Array<unknown> = Array<unknown>> = Mapping<true | EventMapper<E, I, P>>;
20
20
  export type PropertyType = string | ValueOf<typeof PropertyTypes>;
21
21
  export type PropertyConfiguration = PropertyType;
22
- export type ValidationMapping = ValidationMap<PropertyType>;
22
+ export type ValidationMapping = ValidationMap<ValueOf<typeof PropertyTypes>>;
23
23
  export type PropertiesValidationMap = Mapping<ValueOf<typeof PropertyTypes>>;
24
24
  export type PropertiesConfiguration = Mapping | PropertiesValidationMap;
25
25
  export type NormalizedAttributesReflectionConfiguration = Map<string, PropertyConfiguration>;