dothtml-interfaces 0.3.8 → 0.3.10

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.3.8",
3
+ "version": "0.3.10",
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
@@ -16,7 +16,7 @@ type AttrVal<T = string | number | boolean> = T | IReactive<T>;
16
16
  */
17
17
  export interface IDotDocument {
18
18
  // Creating a blank DotDocument.
19
- (document?: Element, classPrefix?: number, targetWindow?: Window & (typeof globalThis)): void;
19
+ // (document?: Element, classPrefix?: number, targetWindow?: Window): void;
20
20
 
21
21
  // Internal use only:
22
22
  // Removed in v6.
@@ -362,7 +362,7 @@ export type ComponentArgs<TProps extends Array<string> = [], TEvents extends Arr
362
362
  * Interface for the dot object.
363
363
  */
364
364
  export interface IDotCore extends IDotDocument {
365
- (targetSelector: string | Element | Node | NodeList | Array<Node | Element>): IDotDocument;
365
+ (targetSelector: string | Element | Node | NodeList | Array<Node | Element>, targetWindow?: Window): IDotDocument;
366
366
 
367
367
  version: string;
368
368
  styleMode: "sync" | "async";