web-component-wrapper 0.0.358 → 0.0.359
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 +2 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import PropertyTypes from 'clientnode/property-types';
|
1
|
+
import PropertyTypes, { ValidationMap } from 'clientnode/property-types';
|
2
2
|
import { Mapping, TemplateFunction, ValueOf } from 'clientnode/type';
|
3
3
|
import { ComponentType as ReactComponentType, ReactElement } from 'react';
|
4
4
|
import Web from './Web';
|
@@ -18,7 +18,7 @@ export declare type EventMapping<ExternalProperties extends Mapping<unknown> = M
|
|
18
18
|
export declare 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>;
|
19
19
|
export declare 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 declare type PropertyConfiguration = string | ValueOf<typeof PropertyTypes>;
|
21
|
-
export declare type PropertiesConfiguration = Mapping<PropertyConfiguration>;
|
21
|
+
export declare type PropertiesConfiguration = Mapping<PropertyConfiguration> & ValidationMap<PropertyConfiguration>;
|
22
22
|
export declare type NormalizedAttributesReflectionConfiguration = Map<string, PropertyConfiguration>;
|
23
23
|
export declare type AttributesReflectionConfiguration = (string | Array<string> | PropertiesConfiguration | NormalizedAttributesReflectionConfiguration);
|
24
24
|
export declare type ScopeDeclaration = Array<string> | Mapping<unknown>;
|