summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/scratchpad.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/pages/scratchpad.vue')
-rw-r--r--packages/frontend/src/pages/scratchpad.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/scratchpad.vue b/packages/frontend/src/pages/scratchpad.vue
index 4e02556c83..b3b899517e 100644
--- a/packages/frontend/src/pages/scratchpad.vue
+++ b/packages/frontend/src/pages/scratchpad.vue
@@ -97,7 +97,7 @@ watch(code, () => {
miLocalStorage.setItem('scratchpad', code.value);
});
-function stringifyUiProps(uiProps) {
+function stringifyUiProps(uiProps: AsUiComponent) {
return JSON.stringify(
{ ...uiProps, type: undefined, id: undefined },
(k, v) => typeof v === 'function' ? '<function>' : v,