web-component-wrapper 0.0.508 → 0.0.509
Sign up to get free protection for your applications and to get access to all the features.
- 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>>;
|