@tempots/dom 25.1.2 → 25.1.3
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/types/domain.d.ts +1 -1
package/package.json
CHANGED
package/types/domain.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type Renderable<CTX extends DOMContext = DOMContext> = (ctx: CTX) => Clea
|
|
|
12
12
|
* It can be a renderable element, a string value, undefined, null, or an array of renderable elements.
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export type TNode = Renderable | Value<string> | undefined | null | Renderable[];
|
|
15
|
+
export type TNode<CTX extends DOMContext = DOMContext> = Renderable<CTX> | Value<string> | undefined | null | Renderable<CTX>[];
|
|
16
16
|
/**
|
|
17
17
|
* Represents a function that clears a resource.
|
|
18
18
|
* @param removeTree - A boolean value indicating whether to remove the tree associated with the resource.
|