From fdb67d18e78b7060cc99047fc7fa3e128473b776 Mon Sep 17 00:00:00 2001 From: Luca Ban Date: Tue, 20 Sep 2022 22:47:20 +0900 Subject: [PATCH] docs: better example to clarify rule (#1984) --- docs/rules/define-props-declaration.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/rules/define-props-declaration.md b/docs/rules/define-props-declaration.md index 6d8d2e8dc..8b88f1ce5 100644 --- a/docs/rules/define-props-declaration.md +++ b/docs/rules/define-props-declaration.md @@ -21,12 +21,14 @@ This rule only works in setup script and `lang="ts"`. ``` @@ -50,12 +52,14 @@ const props = defineProps({ ```