web-component-wrapper 0.0.508 → 0.0.509
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/package.json +1 -1
- package/type.d.ts +1 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
@@ -17,7 +17,7 @@ export type EventMapping<ExternalProperties extends Mapping<unknown> = Mapping<u
|
|
17
17
|
] | Partial<ExternalProperties>);
|
18
18
|
export type EventMapper<E extends Mapping<unknown> = Mapping<unknown>, I extends Mapping<unknown> = Mapping<unknown>, P extends Array<unknown> = Array<unknown>> = (...parameters: P) => EventMapping<E, I> | Promise<EventMapping<E, I>>;
|
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
|
-
export type PropertyType = string
|
20
|
+
export type PropertyType = string | ValueOf<typeof PropertyTypes>;
|
21
21
|
export type PropertyConfiguration = PropertyType;
|
22
22
|
export type ValidationMapping = ValidationMap<PropertyType>;
|
23
23
|
export type PropertiesValidationMap = Mapping<ValueOf<typeof PropertyTypes>>;
|