marko 5.37.44 → 5.37.45
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/index.d.ts +1 -4
- package/package.json +1 -1
- package/tags-html.d.ts +4 -1
package/index.d.ts
CHANGED
@@ -114,10 +114,7 @@ declare global {
|
|
114
114
|
|
115
115
|
/** Valid data types which can be passed in as a <${dynamic}/> tag name. */
|
116
116
|
export type Renderable =
|
117
|
-
| {
|
118
|
-
content?: Body<any, any> | Template | string;
|
119
|
-
renderBody?: Body<any, any> | Template | string;
|
120
|
-
}
|
117
|
+
| { renderBody: Body<any, any> | Template | string }
|
121
118
|
| Body<any, any>
|
122
119
|
| Template
|
123
120
|
| string;
|
package/package.json
CHANGED
package/tags-html.d.ts
CHANGED
@@ -2575,7 +2575,10 @@ declare global {
|
|
2575
2575
|
* Provide body content for the tag as a Marko.Body.
|
2576
2576
|
* @see Marko.Body
|
2577
2577
|
*/
|
2578
|
-
content?:
|
2578
|
+
content?:
|
2579
|
+
| AttrMissing
|
2580
|
+
| Marko.Body<[], void>
|
2581
|
+
| Marko.Template<Record<any, never>, void>;
|
2579
2582
|
|
2580
2583
|
/**
|
2581
2584
|
* Fired when resource was not fully loaded, but not as the result of an error.
|