<script>
  import Postlist from "$comp/postlist.svelte";

  /**
   * @type {{
   *  posts: import("$types/base").Post[]
   * }}
   */
  export let data;
</script>

<h1>Posts</h1>
<Postlist posts={data.posts}></Postlist>
