web-component-wrapper 0.0.392 → 0.0.393

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-component-wrapper",
3
- "version": "0.0.392",
3
+ "version": "0.0.393",
4
4
  "description": "Generic web-component base class and framework specific wrapper.",
5
5
  "keywords": [
6
6
  "component",
package/type.d.ts CHANGED
@@ -52,9 +52,9 @@ export interface WebComponentConfiguration<ExternalProperties extends Mapping<un
52
52
  propTypes?: PropertiesConfiguration;
53
53
  renderProperties?: Array<string>;
54
54
  }
55
- export interface StaticWebComponent extends WebComponentConfiguration {
55
+ export interface StaticWebComponent<ComponentType = unknown, ExternalProperties extends Mapping<unknown> = Mapping<unknown>, InternalProperties extends Mapping<unknown> = Mapping<unknown>, EventParameters extends Array<unknown> = Array<unknown>> extends WebComponentConfiguration<ExternalProperties, InternalProperties, EventParameters> {
56
56
  webComponentAdapterWrapped?: string;
57
- wrapped?: unknown;
57
+ wrapped?: ComponentType;
58
58
  _name?: string;
59
59
  ___types?: {
60
60
  name?: {