obsidian-typings 4.32.0 → 4.34.0
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.
|
@@ -9096,7 +9096,7 @@ export interface PropertyWidget<Value = unknown, ComponentType extends PropertyW
|
|
|
9096
9096
|
/**
|
|
9097
9097
|
* Render function for the widget on field container given context and data.
|
|
9098
9098
|
*/
|
|
9099
|
-
render(containerEl: HTMLElement, data: Value, context: PropertyRenderContext): ComponentType;
|
|
9099
|
+
render(containerEl: HTMLElement, data: Value | null, context: PropertyRenderContext): ComponentType;
|
|
9100
9100
|
/**
|
|
9101
9101
|
* Validate whether the input value to the widget is correct.
|
|
9102
9102
|
*/
|
package/dist/cjs/types.d.cts
CHANGED
|
@@ -25301,7 +25301,7 @@ export interface PropertyWidget<Value = unknown, ComponentType extends PropertyW
|
|
|
25301
25301
|
/**
|
|
25302
25302
|
* Render function for the widget on field container given context and data.
|
|
25303
25303
|
*/
|
|
25304
|
-
render(containerEl: HTMLElement, data: Value, context: PropertyRenderContext): ComponentType;
|
|
25304
|
+
render(containerEl: HTMLElement, data: Value | null, context: PropertyRenderContext): ComponentType;
|
|
25305
25305
|
/**
|
|
25306
25306
|
* Validate whether the input value to the widget is correct.
|
|
25307
25307
|
*/
|
|
@@ -98814,7 +98814,7 @@
|
|
|
98814
98814
|
},
|
|
98815
98815
|
{
|
|
98816
98816
|
"kind": "Content",
|
|
98817
|
-
"text": "Value"
|
|
98817
|
+
"text": "Value | null"
|
|
98818
98818
|
},
|
|
98819
98819
|
{
|
|
98820
98820
|
"kind": "Content",
|