Skip to content

Commit

Permalink
docs: update heading level for Generics section (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
itoao authored Sep 18, 2024
1 parent e604532 commit 1411c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/sfc-script-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ const post = await fetch(`/api/post/1`).then((r) => r.json())
`async setup()` は、現在まだ実験的な機能である [`Suspense`](/guide/built-ins/suspense.html) と組み合わせて使用する必要があります。将来のリリースで完成させてドキュメント化する予定ですが、もし今興味があるのであれば、その[テスト](https://github.com/vuejs/core/blob/main/packages/runtime-core/__tests__/components/Suspense.spec.ts)を参照することで、どのように動作するかを確認できます。
:::

### ジェネリクス <sup class="vt-badge ts" /> {#generics}
## ジェネリクス <sup class="vt-badge ts" /> {#generics}

`<script>` タグの `generic` 属性を使ってジェネリック型パラメーターを宣言できます:

Expand Down

0 comments on commit 1411c00

Please sign in to comment.