dothtml-interfaces 0.2.5 → 0.2.6
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/src/i-component.d.ts +1 -1
- package/src/i-dot.d.ts +1 -1
package/package.json
CHANGED
package/src/i-component.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export default interface IComponent<TProps extends Array<string> = [], TEvents e
|
|
|
40
40
|
|
|
41
41
|
readonly _?: FrameworkItems;
|
|
42
42
|
|
|
43
|
-
new (attrs
|
|
43
|
+
new (attrs?: ComponentArgs<TProps, TEvents>): IComponent<TProps, TEvents>;
|
|
44
44
|
new (): IComponent<TProps, TEvents>;
|
|
45
45
|
|
|
46
46
|
// Lifecycle hooks
|
package/src/i-dot.d.ts
CHANGED
|
@@ -339,9 +339,9 @@ interface IComponentFactory {
|
|
|
339
339
|
<TProps extends Array<string>, TEvents extends Array<string>, T extends IComponent<TProps, TEvents>>(
|
|
340
340
|
Base: new () => T, styles?: Styles | Styles[]
|
|
341
341
|
): new () => T;
|
|
342
|
+
useStyles<T extends IComponent>(styles: Styles | Styles[]): (Base: new () => T) => new () => T;
|
|
342
343
|
}
|
|
343
344
|
|
|
344
|
-
// useStyles<T extends IComponent>(styles: Styles | Styles[]): (Base: new () => T) => new () => T;
|
|
345
345
|
// hasEvents<T extends IComponent>(styles: Styles | Styles[]): (Base: new () => T) => new () => T;
|
|
346
346
|
// prop(target: any, propertyKey: string): void;
|
|
347
347
|
|