Skip to content

Commit 019235c

Browse files
naokiekazupon
andauthored
Update src/api/composition-api.md
Co-authored-by: kazuya kawaguchi <kawakazu80@gmail.com>
1 parent f09c48f commit 019235c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/composition-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
オプション API を使うときの `this.$props` と同様に、`props` オブジェクトには明示的に宣言されたプロパティのみが含まれます。また、すべての宣言されたプロパティのキーは、親コンポーネントから渡されたかどうかに関わらず `props` オブジェクトに存在します。宣言されていない省略可能なプロパティは `undefined` という値になります。
1515

16-
省略可能なプロパティが、ないことを確認する必要があるなら、デフォルト値として Symbol を指定できます:
16+
省略可能なプロパティがないことを確認する必要があるなら、デフォルト値として Symbol を指定できます:
1717

1818
```js
1919
const isAbsent = Symbol()

0 commit comments

Comments
 (0)