dothtml-interfaces 0.1.46 → 0.1.47

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dothtml-interfaces",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "Dependency injection interfaces for DOTHtml.",
5
5
  "main": "src/index.d.ts",
6
6
  "types": "src/index.d.ts",
@@ -31,12 +31,14 @@ export interface FrameworkItems {
31
31
  // it might just be better to rethink how stuff gets passed into components.
32
32
  export default interface IComponent {
33
33
 
34
+ readonly _?: FrameworkItems;
35
+
34
36
  // Lifecycle hooks
35
37
 
36
38
  /**
37
39
  * A function returning DOThtml (required).
38
40
  */
39
- build(_: FrameworkItems): IDotDocument;
41
+ build(): IDotDocument;
40
42
 
41
43
  /**
42
44
  * An optional function that is called after builder that stylizes the component using a scoped style builder.