From d03b64366ab4952db2775fc82585d814dbedb2f1 Mon Sep 17 00:00:00 2001 From: Jaime A Torrealba C Date: Tue, 23 May 2023 16:17:11 -0400 Subject: [PATCH] chore: destructure props --- playground/.eslintrc-auto-import.json | 5 +- playground/auto-imports.d.ts | 1 - .../src/components/PrecipitationDemo.vue | 2 +- src/core/abstractions/Precipitation.vue | 57 ++++++++++--------- 4 files changed, 33 insertions(+), 32 deletions(-) diff --git a/playground/.eslintrc-auto-import.json b/playground/.eslintrc-auto-import.json index e32b30f0..0f676239 100644 --- a/playground/.eslintrc-auto-import.json +++ b/playground/.eslintrc-auto-import.json @@ -57,7 +57,6 @@ "watch": true, "watchEffect": true, "watchPostEffect": true, - "watchSyncEffect": true, - "toValue": true + "watchSyncEffect": true } -} +} \ No newline at end of file diff --git a/playground/auto-imports.d.ts b/playground/auto-imports.d.ts index 4259e89c..e8959eba 100644 --- a/playground/auto-imports.d.ts +++ b/playground/auto-imports.d.ts @@ -45,7 +45,6 @@ declare global { const toRaw: typeof import('vue')['toRaw'] const toRef: typeof import('vue')['toRef'] const toRefs: typeof import('vue')['toRefs'] - const toValue: typeof import('vue')['toValue'] const triggerRef: typeof import('vue')['triggerRef'] const unref: typeof import('vue')['unref'] const useAttrs: typeof import('vue')['useAttrs'] diff --git a/playground/src/components/PrecipitationDemo.vue b/playground/src/components/PrecipitationDemo.vue index c7b4316e..4be198bd 100644 --- a/playground/src/components/PrecipitationDemo.vue +++ b/playground/src/components/PrecipitationDemo.vue @@ -1,7 +1,7 @@