dothtml-interfaces 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/i-dot.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dothtml-interfaces",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Dependency injection interfaces for DOTHtml.",
5
5
  "main": "src/index.d.ts",
6
6
  "types": "src/index.d.ts",
package/src/i-dot.d.ts CHANGED
@@ -9,7 +9,7 @@ type DotContentPrimitive = string | number | boolean;
9
9
  type DotContentBasic = DotContentPrimitive | Node | Element | NodeList | IDotComponent | IDotDocument//typeof DotDocument;
10
10
  export type DotContent = DotContentBasic | Array<DotContent> | IBoundReactive;//|(()=>DotContent);
11
11
 
12
- type AttrVal<T = string | number | boolean> = T | IBoundReactive<T>;
12
+ type AttrVal<T = string | number | boolean> = T | IBoundReactive<any>;
13
13
 
14
14
  /**
15
15
  * Global interface containing elements.
@@ -763,8 +763,8 @@ interface IDotInput extends IDotGlobalAttrs {
763
763
  src?: AttrVal<string>;
764
764
  step?: AttrVal<string> | AttrVal<number>;
765
765
  type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
766
- whichForm?: AttrVal<string>; // form
767
766
  value?: AttrVal<string>;
767
+ whichForm?: AttrVal<string>; // form
768
768
  width?: AttrVal<number>;
769
769
 
770
770
  // Special functions: